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 HasDefaultValuesInterface

provides a way to add default values for fields to an entity Default values can be overridden. Static Values can not.

Namespace: DSchoenbauer\Orm\Entity
Author: David Schoenbauer dschoenbauer@gmail.com
Since: v1.0.0
Located at Orm/Entity/HasDefaultValuesInterface.php
Methods summary
public array
# getDefaultValues( )

provides a way to define values for fields need a default values

provides a way to define values for fields need a default values

Returns

array

an associative array that has a key of the field and a value that is the value to be used as the default value

Since

v1.0.0
API documentation generated by ApiGen