Exemple #1
0
 public function getForInfoblocks(System\Collection $infoblocks, $layout_id)
 {
     $ib_ids = $infoblocks->getValues('id');
     $this->where('infoblock_id', $ib_ids);
     if ($layout_id) {
         $this->where('layout_id', $layout_id);
     }
     return $this->all();
 }