public function prepareInsert($table, array $data)
    {
        $data += $this->getDefaultValues($table);
        return $this->filterValues($table, $data);
    }
public function prepareInsert($table, array $data)
    {
        $data += $this->getDefaultValues($table);
        return $this->filterValues($table, $data);
    }
public function prepareInsert ( $ table , array $ data ) { $ data += $ this -> getDefaultValues ( $ table ) ; return $ this -> filterValues ( $ table , $ data ) ; }
Returns an array of prepared values ready to insert into the database
@param string $table
@param array $data
@return array
Returns an array of prepared values ready to insert into the database