ICanBoogie/ActiveRecord v2.2.0
  • Namespace
  • Class

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

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 RunTimeActiveRecordCache.php

Methods summary

public
# store( ICanBoogie\ActiveRecord $record )

Stores an ICanBoogie\ActiveRecord instance in the cache.

Stores an ICanBoogie\ActiveRecord instance in the cache.

Parameters

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

Retrieves an ICanBoogie\ActiveRecord instance from the cache.

Retrieves an ICanBoogie\ActiveRecord instance from the cache.

Parameters

$key

Returns

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

Eliminates an ICanBoogie\ActiveRecord instance from the cache.

Eliminates an ICanBoogie\ActiveRecord instance from the cache.

Parameters

$key
public
# clear( )

Clears the cache.

Clears the cache.

public
# getIterator( )

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 v2.2.0 API documentation generated by ApiGen