TbEditableSaver::setAttribute PHP Method

setAttribute() public method

setting new value of attribute. Attrubute name also stored in array to save only changed attributes
public setAttribute ( mixed $name, mixed $value )
$name mixed
$value mixed
    public function setAttribute($name, $value)
    {
        $this->model->{$name} = $value;
        if (!in_array($name, $this->changedAttributes)) {
            $this->changedAttributes[] = $name;
        }
    }