Class Relation
-
Cake\ORM\Entity
-
BEdita\Core\Model\Entity\Relation
implements
BEdita\Core\Utility\JsonApiSerializable
uses
BEdita\Core\Model\Entity\JsonApiModelTrait
Methods summary
protected
|
#
_setName( $name )
Default JSON schema.
Var
string
|
protected
string
|
#
_setInverseName( string $inverseName )
Magic setter for relation inverse name.
Magic setter for relation inverse name.
Parameters
- $inverseName
- Relation inverse name.
Returns
string
|
protected
string
|
#
_getAlias( )
Magic getter for relation alias.
Magic getter for relation alias.
Returns
string
|
protected
string
|
#
_getInverseAlias( )
Magic getter for relation inverse alias.
Magic getter for relation inverse alias.
Returns
string
|
protected
array
|
#
_setParams( array $params )
Magic setter for params.
Parameters
Returns
array
|
Properties summary
protected
array
|
$_accessible
|
#
[
'*' => false,
'name' => true,
'label' => true,
'inverse_name' => true,
'inverse_label' => true,
'description' => true,
'params' => true,
]
|
protected
array
|
$_hidden
|
#
[
'object_relations',
]
|