PHP Class Pheasant\Relationships\BelongsTo

Inheritance: extends Pheasant\Relationship
Exibir arquivo Open project: lox/pheasant

Public Methods

Method Description
__construct ( $class, $local, $foreign = null, $allowEmpty = false ) Constructor
get ( $object, $key, $cache = null ) * (non-phpdoc)
set ( $object, $key, $value ) * (non-phpdoc)

Method Details

__construct() public method

Constructor
public __construct ( $class, $local, $foreign = null, $allowEmpty = false )

get() public method

* (non-phpdoc)
See also: Relationship::get()
public get ( $object, $key, $cache = null )

set() public method

* (non-phpdoc)
See also: Relationship::set()
public set ( $object, $key, $value )