Lang
class Lang extends BaseLoop implements PropelSearchLoopInterface
Language loop, to get a list of available languages
- id is the language id
- exclude is a comma separated list of lang IDs that will be excluded from output
- default if 1, the loop return only default lang. If 0, return all but the default language
Methods
mixed
__call(
string $name,
mixed $arguments)
Provides a getter to loop parameter values
from
BaseLoop
parseResults(
LoopResult $loopResult)
No description
ModelCriteria
buildModelCriteria()
No description
bool
getActive()
No description
bool
getVisible()
No description
bool
getDefaultOnly()
No description
bool
getExcludeDefault()
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 142
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