public function save($value, & $response = null)
    {
        /** @var mixed $previousValue Previous instance value for transfer in event handlers */
        $previousValue = $this->dbObject[$this->param];

        // Set field value
        $this->dbObject[$this->param] = $this->convert($value);

        // Create new event on object updating
        Event::fire('samson.cms.input.change', array(& $this->dbObject, $this->param, $previousValue, & $response));

        // Save object
        $this->dbObject->save();
    }
public function save($value, & $response = null)
    {
        /** @var mixed $previousValue Previous instance value for transfer in event handlers */
        $previousValue = $this->dbObject[$this->param];

        // Set field value
        $this->dbObject[$this->param] = $this->convert($value);

        // Create new event on object updating
        Event::fire('samson.cms.input.change', array(& $this->dbObject, $this->param, $previousValue, & $response));

        // Save object
        $this->dbObject->save();
    }
public function save ( $ value , & $ response = null ) { /** @var mixed $previousValue Previous instance value for transfer in event handlers */ $ previousValue = $ this -> dbObject [ $ this -> param ] ; // Set field value $ this -> dbObject [ $ this -> param ] = $ this -> convert ( $ value ) ; // Create new event on object updating Event :: fire ( 'samson.cms.input.change' , array ( & $ this -> dbObject , $ this -> param , $ previousValue , & $ response ) ) ; // Save object $ this -> dbObject -> save ( ) ; }
Save input field value

@param mixed $value Field value
Save input field value