public getTreeAsFlat ( integer | string $id, integer | null $offset = null, integer | null $limit = null, string | null $filter = null, string $orderFields = 'Name', string $orderDirection = 'asc' ) : array | ||
$id | integer | string | The parent category ID or slug. |
$offset | integer | null | Offset results by given value. |
$limit | integer | null | Total number of results should not exceed this value. |
$filter | string | null | Restrict results to only those with names matching this value, if provided. |
$orderFields | string | |
$orderDirection | string | |
return | array |