Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
44 | protected function findEntityIDs(array $entityIDs = array()) |
||
45 | { |
||
46 | // Get parent logic |
||
47 | $entityIDs = parent::findEntityIDs($entityIDs); |
||
48 | |||
49 | // Filter entity identifiers by parent |
||
50 | return $this->query->entity(Material::class) |
||
51 | ->where(Material::F_PRIMARY, $entityIDs) |
||
52 | ->where(Material::F_PARENT, $this->parentID) |
||
53 | ->fields(Material::F_PRIMARY); |
||
54 | } |
||
55 | } |
||
56 |