34 public function listAction($select=[], $filter=[], $order=[], $start=0)
38 $catalog = new \CCatalog();
40 $select = empty($select)? [
'*']:$select;
41 $order = empty($order)? [
'ID'=>
'ASC']:$order;
43 $r = $catalog::GetList($order, $filter,
false, self::getNavData($start), $select);
44 while ($l = $r->fetch())
49 return new Page(
'CATALOGS', $result,
function() use ($filter)
51 return (
int)\CCatalog::GetList([], $filter, []);