Trait FieldTrait

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

Properties summary

  • $_field protected
    string|\Cake\Database\ExpressionInterface

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

Method Summary

Method Detail

getField() public

getField()

Returns the field name

Returns

string|\Cake\Database\ExpressionInterface

setField() public

setField(mixed $field)

Sets the field name

Parameters

string|\Cake\Database\ExpressionInterface $field

The field to compare with.

Property Detail

$_field protected

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

Type

string|\Cake\Database\ExpressionInterface

© 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.
https://api.cakephp.org/3.9/trait-Cake.Database.Expression.FieldTrait.html