public getById ( integer $id, integer $locale, integer $depth, boolean $breadcrumb = false, array $filter = [], array $sortBy = [] ) : |
||
$id | integer | the id of the collection |
$locale | integer | the locale which the collection should be return |
$depth | integer | if depth > 1 children will returned also |
$breadcrumb | boolean | if true breadcrumb will be appended |
$filter | array | array of criteria |
$sortBy | array | fields to sort by |
return |