Trait FieldTrait
Contains the field property with a getter and a setter for it
Direct Users
- Cake\Database\Expression\BetweenExpression
- Cake\Database\Expression\Comparison
- Cake\Database\Expression\OrderClauseExpression
Indirect Users
Properties summary
-  The field name or expression to be used in the left hand side of the operator$_fieldprotected
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\ExpressionInterfacesetField()source public
setField( string|Cake\Database\ExpressionInterface $field )
Sets the field name
Parameters
-  string|Cake\Database\ExpressionInterface$field
- The field to compare with.
Properties detail
$_fieldsource
 protected string|Cake\Database\ExpressionInterface 
The field name or expression to be used in the left hand side of the operator
    © 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.FieldTrait.html