CategoryTree
class CategoryTree extends BaseI18nLoop implements ArraySearchLoopInterface
Category tree loop, to get a category tree from a given category to a given depth.
- category is the category id
- depth is the maximum depth to go, default unlimited
- visible if true or missing, only visible categories will be displayed. If false, all categories (visible or not) are returned.
Methods
Provides a getter to loop parameter values
No description
No description
Add the search clause for an I18N column, taking care of the back/front context, as defaultlocalei18n is not defined in the backEnd I18N context.
No description
No description
No description
No description
Details
in
BaseLoop at line 99
__construct(
ContainerInterface $container)
Create a new Loop
in
BaseLoop at line 210
mixed
__call(
string $name,
mixed $arguments)
Provides a getter to loop parameter values
in
BaseLoop at line 231
initializeArgs(
array $nameValuePairs)
Initialize the loop arguments.
in
BaseLoop at line 456
count()
in
BaseLoop at line 496
LoopResult
exec(
PropelModelPager $pagination)
at line 139
LoopResult
parseResults(
LoopResult $loopResult)
in
BaseLoop at line 744
ArgumentCollection
getArgumentCollection()
Get the argument collection
in
BaseLoop at line 754
null|String
getLoopName()
Get the loop name
in
BaseLoop at line 52
string
getType()
in
BaseLoop at line 52
bool
getForceReturn()
in
BaseLoop at line 52
bool
getBackendContext()
in
BaseLoop at line 52
int
getOffset()
available if countable is true
in
BaseLoop at line 52
int
getPage()
available if countable is true
in
BaseLoop at line 52
int
getLimit()
available if countable is true
in
BaseLoop at line 52
bool
getReturnUrl()
false for disable the generation of urls
in
BaseLoop at line 52
ModelCriteria
buildModelCriteria()
at line 154
array
buildArray()
in
BaseI18nLoop at line 89
addSearchInI18nColumn(
ModelCriteria $search,
string $columnName,
string $searchCriteria,
string $searchTerm)
Add the search clause for an I18N column, taking care of the back/front context, as defaultlocalei18n is not defined in the backEnd I18N context.