public function setFromArray(array $data)
    {
        $data = array_intersect_key($data, $this->_data);

        foreach ($data as $columnName => $value) {
            $this->__set($columnName, $value);
        }

        return $this;
    }
public function setFromArray(array $data)
    {
        $data = array_intersect_key($data, $this->_data);

        foreach ($data as $columnName => $value) {
            $this->__set($columnName, $value);
        }

        return $this;
    }
public function setFromArray ( array $ data ) { $ data = array_intersect_key ( $ data , $ this -> _data ) ; foreach ( $ data as $ columnName => $ value ) { $ this -> __set ( $ columnName , $ value ) ; } return $ this ; }
Sets all data in the row from an array.

@param  array $data
@return Zend_Db_Table_Row_Abstract Provides a fluent interface
Sets all data in the row from an array .