lithium\data\Entity::__set()
PHP magic method used when setting properties on the Entity
instance, i.e.
$entity->title = 'Lorem Ipsum'
.
Parameters
-
string
$name
The name of the field/property to write to, i.e.
title
in the above example. -
mixed
$value
The value to write, i.e.
'Lorem Ipsum'
.
Returns
voidSource
public function __set($name, $value) {
unset($this->_increment[$name]);
$this->_updated[$name] = $value;
}