| 1 | <?php | ||
| 18 | class EntityTable extends Entity | ||
| 19 | { | ||
| 20 | /** @var int Parent entity identifier */ | ||
| 21 | protected $parentID; | ||
| 22 | |||
| 23 | /** | ||
| 24 | * Generic constructor. | ||
| 25 | * | ||
| 26 | * @param int $parentID Parent entity identifier | ||
| 27 | * @param QueryInterface $query Database query instance | ||
| 28 | * @param string $locale Query localization | ||
| 29 | */ | ||
| 30 | public function __construct($parentID, QueryInterface $query = null, $locale = null) | ||
| 36 | |||
| 37 | /** | ||
| 38 | * Prepare entity identifiers. | ||
| 39 | * | ||
| 40 | * @param array $entityIDs Collection of identifier for filtering | ||
| 41 | * | ||
| 42 | * @return array Collection of entity identifiers | ||
| 43 | */ | ||
| 44 | protected function findEntityIDs(array $entityIDs = array()) | ||
| 55 | } | ||
| 56 |