class PropelConditionalProxy
Proxy for conditional statements in a fluid interface.
This class replaces another class for wrong statements,
and silently catches all calls to non-conditional method calls
Methods
__construct($criteria, $cond, $proxy = null) | ||
PropelConditionalProxy |
_if(bool $cond)
Returns a new level PropelConditionalProxy instance. |
|
PropelConditionalProxy |
_elseif(bool $cond)
Allows for conditional statements in a fluid interface. |
|
PropelConditionalProxy |
_else()
Allows for conditional statements in a fluid interface. |
|
PropelConditionalProxy|Criteria |
_endif()
Returns the parent object Allows for conditional statements in a fluid interface. |
|
getParentProxy() | ||
getCriteriaOrProxy() | ||
__call($name, $arguments) |
Details
at line 42
public
__construct($criteria, $cond, $proxy = null)
at line 64
public PropelConditionalProxy
_if(bool $cond)
Returns a new level PropelConditionalProxy instance.
Allows for conditional statements in a fluid interface.
at line 76
public PropelConditionalProxy
_elseif(bool $cond)
Allows for conditional statements in a fluid interface.
at line 86
public PropelConditionalProxy
_else()
Allows for conditional statements in a fluid interface.
at line 97
public PropelConditionalProxy|Criteria
_endif()
Returns the parent object Allows for conditional statements in a fluid interface.