Represents a single identifier name in the database.
Identifier values are unsafe with user supplied data. Values will be quoted when identifier quoting is enabled.
string
Holds the identifier string
Iterates over each part of the expression recursively for every level of the expressions tree and executes the $visitor callable passing as first parameter the instance of the expression currently being iterated.
__construct(string $identifier)
Constructor
string
$identifier The identifier this expression represents
getIdentifier()
Returns the identifier this expression represents
string
setIdentifier(string $identifier)
Sets the identifier this expression represents
string
$identifier The identifier
sql(\Cake\Database\ValueBinder $generator)
Converts the expression to its string representation
\Cake\Database\ValueBinder
$generator Placeholder generator object
string
traverse(\Closure $visitor)
Iterates over each part of the expression recursively for every level of the expressions tree and executes the $visitor callable passing as first parameter the instance of the expression currently being iterated.
\Closure
$visitor The callable to apply to all nodes.
$this
Holds the identifier string
string
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.1/class-Cake.Database.Expression.IdentifierExpression.html