code/libraries/joomlatools/library/database/rowset/abstract.php
public function insert(KObjectHandlable $row)
    {
        if (!$row instanceof KDatabaseRowInterface) {
            throw new InvalidArgumentException('Row needs to implement KDatabaseRowInterface');
        }

        $this->offsetSet($row, null);

        return true;
    }
public function insert(KObjectHandlable $row)
    {
        if (!$row instanceof KDatabaseRowInterface) {
            throw new InvalidArgumentException('Row needs to implement KDatabaseRowInterface');
        }

        $this->offsetSet($row, null);

        return true;
    }
public function insert ( KObjectHandlable $ row ) { if ( ! $ row instanceof KDatabaseRowInterface ) { throw new InvalidArgumentException ( 'Row needs to implement KDatabaseRowInterface' ) ; } $ this -> offsetSet ( $ row , null ) ; return true ; }
Insert a row into the rowset

The row will be stored by it's identity_column if set or otherwise by it's object handle.

@param  KObjectHandlable|KDatabaseRowInterface $row
@throws \InvalidArgumentException if the object doesn't implement KDatabaseRowInterface
@return boolean    TRUE on success FALSE on failure
Insert a row into the rowset