lib/Doctrine/ODM/CouchDB/PersistentIdsCollection.php 1 location
|
@@ 13-20 (lines=8) @@
|
10 |
|
private $dm; |
11 |
|
private $ids; |
12 |
|
|
13 |
|
public function __construct(Collection $collection, $documentName, DocumentManager $dm, $ids) |
14 |
|
{ |
15 |
|
$this->col = $collection; |
16 |
|
$this->documentName = $documentName; |
17 |
|
$this->dm = $dm; |
18 |
|
$this->ids = $ids; |
19 |
|
$this->isInitialized = (count($ids) == 0); |
20 |
|
} |
21 |
|
|
22 |
|
public function initialize() |
23 |
|
{ |
lib/Doctrine/ODM/CouchDB/PersistentViewCollection.php 1 location
|
@@ 13-20 (lines=8) @@
|
10 |
|
private $owningDocumentId; |
11 |
|
private $assoc; |
12 |
|
|
13 |
|
public function __construct(Collection $collection, DocumentManager $dm, $owningDocumentId, $assoc) |
14 |
|
{ |
15 |
|
$this->col = $collection; |
16 |
|
$this->dm = $dm; |
17 |
|
$this->owningDocumentId = $owningDocumentId; |
18 |
|
$this->assoc = $assoc; |
19 |
|
$this->isInitialized = false; |
20 |
|
} |
21 |
|
|
22 |
|
public function initialize() |
23 |
|
{ |