1 | <?php |
||
20 | class EntityTable extends Entity |
||
21 | { |
||
22 | /** @var int Parent entity identifier */ |
||
23 | protected $parentID; |
||
24 | |||
25 | /** @var int Parent table structure identifier */ |
||
26 | protected $structureID; |
||
27 | |||
28 | /** |
||
29 | * Generic constructor. |
||
30 | * |
||
31 | * @param int $structureID Parent table structure identifier |
||
32 | * @param int $parentID Parent entity identifier |
||
33 | * @param QueryInterface $query Database query instance |
||
34 | * @param string $locale Query localization |
||
35 | */ |
||
36 | public function __construct($structureID, $parentID, QueryInterface $query = null, $locale = null) |
||
43 | |||
44 | /** |
||
45 | * Prepare entity identifiers. |
||
46 | * |
||
47 | * @param array $entityIDs Collection of identifier for filtering |
||
48 | * @return array Collection of entity identifiers |
||
49 | */ |
||
50 | protected function findEntityIDs(array $entityIDs = array()) |
||
78 | } |