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

Trait CreatedAtProperty

Implements a created_at property.

Namespace: ICanBoogie\ActiveRecord
See: ICanBoogie\ActiveRecord\DateTimeProperty
Located at CreatedAtProperty.php

Methods summary

protected get_created_at( void ) : ICanBoogie\DateTime

Returns the date and time at which the record was created.

Returns the date and time at which the record was created.

Returns

ICanBoogie\DateTime
protected set_created_at( mixed $datetime )

Sets the date and time at which the record was created.

Sets the date and time at which the record was created.

Parameters

$datetime
ActiveRecord v2.2.0 – Check on GitHub – API documentation generated by ApiGen