code/database/table/abstract.php
public function createRow(array $options = array())
    {
        $identifier = $this->getIdentifier()->toArray();
        $identifier['path'] = array('database', 'row');
        $identifier['name'] = StringInflector::singularize($this->getIdentifier()->name);

        //Force the table
        $options['table'] = $this;

        //Set the identity column if not set already
        if (!isset($options['identity_column'])) {
            $options['identity_column'] = $this->mapColumns($this->getIdentityColumn(), true);
        }

        return $this->getObject($identifier, $options);
    }
public function createRow(array $options = array())
    {
        $identifier = $this->getIdentifier()->toArray();
        $identifier['path'] = array('database', 'row');
        $identifier['name'] = StringInflector::singularize($this->getIdentifier()->name);

        //Force the table
        $options['table'] = $this;

        //Set the identity column if not set already
        if (!isset($options['identity_column'])) {
            $options['identity_column'] = $this->mapColumns($this->getIdentityColumn(), true);
        }

        return $this->getObject($identifier, $options);
    }
public function createRow ( array $ options = array ( ) ) { $ identifier = $ this -> getIdentifier ( ) -> toArray ( ) ; $ identifier [ 'path' ] = array ( 'database' , 'row' ) ; $ identifier [ 'name' ] = StringInflector :: singularize ( $ this -> getIdentifier ( ) -> name ) ; //Force the table $ options [ 'table' ] = $ this ; //Set the identity column if not set already if ( ! isset ( $ options [ 'identity_column' ] ) ) { $ options [ 'identity_column' ] = $ this -> mapColumns ( $ this -> getIdentityColumn ( ) , true ) ; } return $ this -> getObject ( $ identifier , $ options ) ; }
Get an instance of a row object for this table

@param array $options An optional associative array of configuration settings.
@return  DatabaseRowInterface
Get an instance of a row object for this table