Trait FieldTrait

Contains the field property with a getter and a setter for it

Direct Users

Indirect Users

Properties summary

Method Summary

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.

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