src/Tao/Database/Model.php
public function insert(array $data)
    {
        $this->normalizeDataColumns($data);

        $this->setSearchIndexableData($data);

        return $this->app['db']->insert($this->getTable(), $data);
    }
public function insert(array $data)
    {
        $this->normalizeDataColumns($data);

        $this->setSearchIndexableData($data);

        return $this->app['db']->insert($this->getTable(), $data);
    }
public function insert ( array $ data ) { $ this -> normalizeDataColumns ( $ data ) ; $ this -> setSearchIndexableData ( $ data ) ; return $ this -> app [ 'db' ] -> insert ( $ this -> getTable ( ) , $ data ) ; }
Insert an entry.

@param array $data
Insert an entry .