ICanBoogie/ActiveRecord 3.0.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • ActiveRecord
      • ActiveRecordCache
      • Driver
      • Property
      • Validate
        • Reader
        • Validator
        • ValidatorProvider

Classes

  • DateTimePropertySupport

Traits

  • CreatedAtProperty
  • DateProperty
  • DateTimeProperty
  • FinishAtProperty
  • FinishedAtProperty
  • StartAtProperty
  • StartedAtProperty
  • UpdatedAtProperty

Class DateTimePropertySupport

Provides support for datetime properties.

Namespace: ICanBoogie\ActiveRecord\Property
Located at ActiveRecord/Property/DateTimePropertySupport.php

Methods summary

public static
# set( mixed & $property, mixed $datetime )

Sets the datetime in a property.

Sets the datetime in a property.

Parameters

$property
Reference to the property to set.
$datetime
Date and time.
public static ICanBoogie\DateTime
# get( mixed & $property )

Returns the ICanBoogie\DateTime instance of a property.

Returns the ICanBoogie\DateTime instance of a property.

Parameters

$property
Reference to the property to return.

Returns

ICanBoogie\DateTime
The function always return a ICanBoogie\DateTime instance.
ICanBoogie/ActiveRecord 3.0.x API documentation generated by ApiGen