public function insert($data)
    {
        $db = $this->load();
        $db[] = $data;
        return $this->rewrite($db);
    }
public function insert($data)
    {
        $db = $this->load();
        $db[] = $data;
        return $this->rewrite($db);
    }
public function insert ( $ data ) { $ db = $ this -> load ( ) ; $ db [ ] = $ data ; return $ this -> rewrite ( $ db ) ; }
Inserts a row into the database.

@param array $data   the row to insert
@return array        the updated data set
Inserts a row into the database .