ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord 3.0.x
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 get( mixed & $property ) : ICanBoogie\DateTime

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.
ActiveRecord 3.0.x – Check on GitHub – API documentation generated by ApiGen