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 HasDateFieldsInterface

provides a way to add date fields to an entity

Direct known implementers

DSchoenbauer\Orm\Entity\HasDateWithCustomFormatInterface
Namespace: DSchoenbauer\Orm\Entity
Author: David Schoenbauer dschoenbauer@gmail.com
Located at Orm/Entity/HasDateFieldsInterface.php
Methods summary
public array
# getDateFields( )

provides a way to add date fields to an entity

provides a way to add date fields to an entity

Returns

array
an array of fields that are date data types

Since

v1.0.0
public string
# getDateDefaultFormat( )

a default date format that the value must conform to

a default date format that the value must conform to

Returns

string
Format accepted by date().

Since

v1.0.0

Link

date() format
API documentation generated by ApiGen