class NullRecord extends Record (View source)

The NullRecord class.

Methods

__construct(string $table = null, mixed $keys = null, DataMapper $mapper = null)

Object constructor to set table and key fields. In most cases this will be overridden by child classes to explicitly set the table and key fields for a particular database table.

Details

at line line 49
__construct(string $table = null, mixed $keys = null, DataMapper $mapper = null)

Object constructor to set table and key fields. In most cases this will be overridden by child classes to explicitly set the table and key fields for a particular database table.

Parameters

string $table Name of the table to model.
mixed $keys Name of the primary key field in the table or array of field names that compose the primary key.
DataMapper $mapper DatabaseDriver object.