BEdita API doc | 4-cactus
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Download

Namespaces

  • BEdita
    • API
      • Auth
      • Controller
        • Admin
        • Model
      • Exception
      • Middleware
      • Model
        • Action
      • Network
        • Exception
      • Utility
    • Core
      • Database
        • Type
      • Exception
      • Filesystem
        • Adapter
        • Exception
        • Thumbnail
      • Job
        • Service
      • Mailer
        • Preview
        • Transport
      • Model
        • Action
        • Behavior
        • Entity
        • Validation
      • ORM
        • Locator
      • Utility

Classes

  • Annotation
  • Application
  • AsyncJob
  • AuthProvider
  • Category
  • DateRange
  • ExternalAuth
  • History
  • Link
  • Location
  • ObjectCategory
  • ObjectPermission
  • ObjectProperty
  • ObjectRelation
  • ObjectTag
  • Profile
  • Property
  • PropertyType
  • Publication
  • Relation
  • RelationType
  • Role
  • RolesUser
  • Tag
  • Translation
  • Tree
  • UserToken

Traits

  • JsonApiAdminTrait
  • JsonApiModelTrait

Class Relation

Relation Entity

Cake\ORM\Entity
Extended by BEdita\Core\Model\Entity\Relation implements BEdita\Core\Utility\JsonApiSerializable uses BEdita\Core\Model\Entity\JsonApiModelTrait
Namespace: BEdita\Core\Model\Entity
Located at Core/src/Model/Entity/Relation.php

Methods summary

protected
# _setName( $name )

Default JSON schema.

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.

Magic setter for params.

Parameters

$params
Relation params.

Returns

array

Methods inherited from BEdita\Core\Utility\JsonApiSerializable

jsonApiSerialize(), routeNamePrefix()

Methods used from BEdita\Core\Model\Entity\JsonApiModelTrait

routeNamePrefix()

Properties summary

protected array $_accessible

Inheritdoc

# [ '*' => false, 'name' => true, 'label' => true, 'inverse_name' => true, 'inverse_label' => true, 'description' => true, 'params' => true, ]
protected array $_hidden

Inheritdoc

# [ 'object_relations', ]

Magic properties

public integer $id
public string $name
public string $label
public string $inverse_name
public string $inverse_label
public string $description
public array $params
public string $alias
public string $inverse_alias
public BEdita\Core\Model\Entity\ObjectRelation[] $object_relations
public BEdita\Core\Model\Entity\ObjectType[] $left_object_types
public BEdita\Core\Model\Entity\ObjectType[] $right_object_types
BEdita API doc | 4-cactus API documentation generated by ApiGen