Table Of Contents

Previous topic

Interface Phalcon\Db\IndexInterface

Next topic

Interface Phalcon\Db\ResultInterface

This Page

Interface Phalcon\Db\ReferenceInterface

Phalcon\Db\ReferenceInterface initializer

Methods

abstract public __construct (string $referenceName, array $definition)

Phalcon\Db\ReferenceInterface constructor

abstract public string getName ()

Gets the index name

abstract public string getSchemaName ()

Gets the schema where referenced table is

abstract public string getReferencedSchema ()

Gets the schema where referenced table is

abstract public array getColumns ()

Gets local columns which reference is based

abstract public string getReferencedTable ()

Gets the referenced table

abstract public array getReferencedColumns ()

Gets referenced columns

abstract public static Phalcon\Db\ReferenceInterface __set_state (array $data)

Restore a Phalcon\Db\Reference object from export