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

Namespaces

  • BEdita
    • API
      • Auth
      • Controller
        • Admin
        • Component
        • Model
      • Error
      • Event
      • Exception
      • Middleware
      • Model
        • Action
      • Network
        • Exception
      • Shell
      • TestSuite
      • Utility
    • Core
      • Configure
        • Engine
      • Database
        • Type
      • Exception
      • Filesystem
        • Adapter
        • Exception
        • Thumbnail
      • I18n
      • Job
        • Service
      • Mailer
        • Preview
        • Transport
      • Model
        • Action
        • Behavior
        • Entity
        • Table
        • Validation
      • ORM
        • Inheritance
        • Locator
        • Rule
      • Shell
        • Task
      • State
      • TestSuite
        • Fixture
      • Utility

Classes

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

Traits

  • JsonApiAdminTrait
  • JsonApiModelTrait

Class Property

Property Entity.

Cake\ORM\Entity
Extended by BEdita\Core\Model\Entity\Property implements BEdita\Core\Utility\JsonApiSerializable uses BEdita\Core\Model\Entity\JsonApiModelTrait, BEdita\Core\Model\Entity\ObjectTypeNameTrait (not available)
Namespace: BEdita\Core\Model\Entity
Since: 4.0.0
Located at Core/src/Model/Entity/Property.php

Methods summary

protected BEdita\Core\Model\Entity\PropertyType|null
# _getPropertyType( )

Getter for property_type property with lazy loading.

Getter for property_type property with lazy loading.

Returns

BEdita\Core\Model\Entity\PropertyType|null
protected string
# _getPropertyTypeName( )

Getter for property_type_name virtual property.

Getter for property_type_name virtual property.

Returns

string
protected string
# _setPropertyTypeName( string $propertyType )

Setter for property_type_name virtual property.

Setter for property_type_name virtual property.

Parameters

$propertyType
Property type name.

Returns

string
protected boolean
# _getRequired( )

Getter for required virtual property.

Getter for required virtual property.

Returns

boolean
public mixed
# getSchema( string|null $accessMode = null )

Get property schema.

Get property schema.

Parameters

$accessMode
Access mode (either "readOnly" or "writeOnly", or null for read-write access).

Returns

mixed

Methods inherited from BEdita\Core\Utility\JsonApiSerializable

jsonApiSerialize(), routeNamePrefix()

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

routeNamePrefix()

Constants summary

Constants inherited from BEdita\Core\Utility\JsonApiSerializable

JSONAPIOPT_BASIC, JSONAPIOPT_EXCLUDE_ATTRIBUTES, JSONAPIOPT_EXCLUDE_LINKS, JSONAPIOPT_EXCLUDE_META, JSONAPIOPT_EXCLUDE_RELATIONSHIPS

Properties summary

protected array $_accessible
# [ '*' => true, 'id' => false, 'object_type_id' => false, 'object_type' => false, 'property_type_id' => false, 'property_type' => false, 'property' => false, 'enabled' => false, 'created' => false, 'modified' => false, 'default' => false, 'required' => false, 'type' => false, ]
protected array $_virtual
# [ 'property_type_name', 'object_type_name', ]
protected array $_hidden
# [ 'object_type_id', 'object_type', 'property_type_id', 'property_type', 'enabled', ]

Magic properties

public integer $id
public string $name
public string $description
public boolean $enabled
public boolean $is_nullable
public boolean $required
public Cake\I18n\Time $created
public Cake\I18n\Time $modified
public integer $object_type_id
public string $object_type_name
public BEdita\Core\Model\Entity\ObjectType $object_type
public integer $property_type_id
public string $property_type_name
public BEdita\Core\Model\Entity\PropertyType $property_type
BEdita API doc | 4-cactus API documentation generated by ApiGen