public function save($options)
    {
        $gcc = get_called_class();
        $class = $gcc::init();
        $cap = $this->_database->getCapsule();
        $params = (array) $options;
        $this->filter($params);

        return $cap->table($this->table)->update($params);
    }
public function save($options)
    {
        $gcc = get_called_class();
        $class = $gcc::init();
        $cap = $this->_database->getCapsule();
        $params = (array) $options;
        $this->filter($params);

        return $cap->table($this->table)->update($params);
    }
public function save ( $ options ) { $ gcc = get_called_class ( ) ; $ class = $ gcc :: init ( ) ; $ cap = $ this -> _database -> getCapsule ( ) ; $ params = ( array ) $ options ; $ this -> filter ( $ params ) ; return $ cap -> table ( $ this -> table ) -> update ( $ params ) ; }
Saves changes to a model.

@param mixed $options

@return bool
Saves changes to a model .