Overview

Namespaces

  • DSchoenbauer
    • Orm
      • Builder
      • Entity
      • Enum
      • Events
        • Persistence
        • Validate
          • DataType
          • Schema
      • Exception
      • Framework

Classes

  • AbstractEntity

Interfaces

  • EntityInterface
  • HasBoolFieldsInterface
  • HasDateFieldsInterface
  • HasDateWithCustomFormatInterface
  • HasDefaultValuesInterface
  • HasFilterInterface
  • HasNumericFieldsInterface
  • HasRequiredFieldsInterface
  • HasStaticValuesInterface
  • HasStringFieldsInterface
  • IsSortableInterface
  • Overview
  • Namespace
  • Class

Interface EntityInterface

An entity is an object that contains specific information for a given model

Direct known implementers

DSchoenbauer\Orm\Entity\AbstractEntity
Namespace: DSchoenbauer\Orm\Entity
Author: David Schoenbauer dschoenbauer@gmail.com
Located at Orm/Entity/EntityInterface.php
Methods summary
public string
# getName( )

provides a name that can be used to reference the entity

provides a name that can be used to reference the entity

Returns

string

Since

v1.0.0
public string
# getIdField( )

provides field with primary key

provides field with primary key

Returns

string

Since

v1.0.0
public string
# getTable( )

provides which table the entities data is stored in

provides which table the entities data is stored in

Returns

string

Since

v1.0.0
public array
# getAllFields( )

provides an array of all fields the entity has

provides an array of all fields the entity has

Returns

array

Since

v1.0.0
API documentation generated by ApiGen