ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord v2.2.0
Namespaces
  • ICanBoogie
    • ActiveRecord
Classes
  • ActiveRecordCacheBase
  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • DateTimePropertySupport
  • HasManyRelation
  • Helpers
  • Model
  • ModelCollection
  • Query
  • Relation
  • RelationCollection
  • RelationNotDefined
  • RunTimeActiveRecordCache
  • Statement
  • Table
Interfaces
  • ActiveRecordCache
  • Exception
Traits
  • CreatedAtProperty
  • DateTimeProperty
  • UpdatedAtProperty
Exceptions
  • ActiveRecordClassNotValid
  • ConnectionAlreadyEstablished
  • ConnectionNotDefined
  • ConnectionNotEstablished
  • ModelAlreadyInstantiated
  • ModelNotDefined
  • RecordNotFound
  • ScopeNotDefined
  • StatementNotValid
  • UnableToSetFetchMode

Class DateTimePropertySupport

Provides support for datetime properties.

Namespace: ICanBoogie\ActiveRecord
Located at 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 v2.2.0 – Check on GitHub – API documentation generated by ApiGen