/CakePHP 3.8

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



setField()source public

setField( string|Cake\Database\ExpressionInterface $field )

Sets the field name


string|Cake\Database\ExpressionInterface $field
The field to compare with.

Properties detail


protected string|Cake\Database\ExpressionInterface

The field name or expression to be used in the left hand side of the operator

© 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.