W3cubDocs

/CakePHP 3.5

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

Indirect Implementers

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.

© 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.5/class-Cake.Database.Expression.FieldInterface.html