PHP Класс Pheasant\Relationships\HasOne
An example of this type of relationship would be a Hero HasOne SecretIdentity.
Hero owns the primary key of heroid, and SecretIdentity has a foreign key
of heroid.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
__construct ( $class, $local, $foreign = null, $allowEmpty = false ) |
Constructor |
|
get ( $object, $key, $cache = null ) |
* (non-phpdoc) |
|
set ( $object, $key, $value ) |
* (non-phpdoc) |
|
Описание методов
__construct()
публичный Метод
public __construct ( $class, $local, $foreign = null, $allowEmpty = false ) |
public get ( $object, $key, $cache = null ) |
public set ( $object, $key, $value ) |