Interface FieldInterface
Describes a getter and a setter for the a field property. Useful for expressions that contain an identifier to compare against.
Direct Implementers
- Cake\Database\Expression\BetweenExpression
- Cake\Database\Expression\Comparison
- Cake\Database\Expression\OrderClauseExpression
Indirect Implementers
Method Summary
- getField() publicReturns the field name
- setField() publicSets the field name
Method Detail
getField()source public
getField( )
Returns the field name
Returns
string|Cake\Database\ExpressionInterface
setField()source public
setField( string|Cake\Database\ExpressionInterface $field )
Sets the field name
Parameters
- string|
Cake\Database\ExpressionInterface
$field
- The field to compare with.
© 2005–2017 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/3.4/class-Cake.Database.Expression.FieldInterface.html