library/Garp/Model/Db.php
public function filterColumns(array $data) {
        $testCols = array_fill_keys($this->info(Zend_Db_Table_Abstract::COLS), null);
        return array_intersect_key($data, $testCols);
    }
public function filterColumns(array $data) {
        $testCols = array_fill_keys($this->info(Zend_Db_Table_Abstract::COLS), null);
        return array_intersect_key($data, $testCols);
    }
public function filterColumns ( array $ data ) { $ testCols = array_fill_keys ( $ this -> info ( Zend_Db_Table_Abstract :: COLS ) , null ) ; return array_intersect_key ( $ data , $ testCols ) ; }
Strip an array of columns that are not part of this model

@param array $data
@return array
Strip an array of columns that are not part of this model