ICanBoogie/ActiveRecord master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • ActiveRecord
      • Driver

Classes

  • ActiveRecordCacheBase
  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • DateTimePropertySupport
  • HasManyRelation
  • Helpers
  • Model
  • ModelCollection
  • Query
  • Relation
  • RelationCollection
  • RelationNotDefined
  • RuntimeActiveRecordCache
  • Schema
  • SchemaColumn
  • Statement
  • Table

Interfaces

  • ActiveRecordCache
  • Driver
  • Exception

Traits

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

Exceptions

  • ActiveRecordClassNotValid
  • ConnectionAlreadyEstablished
  • ConnectionNotDefined
  • ConnectionNotEstablished
  • DriverNotDefined
  • ModelAlreadyInstantiated
  • ModelNotDefined
  • RecordNotFound
  • ScopeNotDefined
  • StatementInvocationFailed
  • StatementNotValid
  • UnableToSetFetchMode

Functions

  • extract_charset_and_collate
  • get_model

Class RuntimeActiveRecordCache

Cache records during run time.

ICanBoogie\ActiveRecord\ActiveRecordCacheBase implements ICanBoogie\ActiveRecord\ActiveRecordCache
Extended by ICanBoogie\ActiveRecord\RuntimeActiveRecordCache implements IteratorAggregate
Namespace: ICanBoogie\ActiveRecord
Located at ActiveRecord/RuntimeActiveRecordCache.php

Methods summary

public
# store( ICanBoogie\ActiveRecord $record )

Parameters

$record

Inheritdoc

public ICanBoogie\ActiveRecord|null
# retrieve( integer $key )

Parameters

$key

Returns

ICanBoogie\ActiveRecord|null

Inheritdoc

public
# eliminate( integer $key )

Parameters

$key

Inheritdoc

public
# clear( )

Inheritdoc

public
# getIterator( )

Inheritdoc

Implementation of

IteratorAggregate::getIterator()

Methods inherited from ICanBoogie\ActiveRecord\ActiveRecordCacheBase

__construct()

Properties summary

protected ICanBoogie\ActiveRecord[] $records

Cached records.

Cached records.

# []

Properties inherited from ICanBoogie\ActiveRecord\ActiveRecordCacheBase

$model

ICanBoogie/ActiveRecord master API documentation generated by ApiGen