ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord v2.3.0
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

Interface ActiveRecordCache

Interface for ActiveRecord cache.

Direct known implementers

ICanBoogie\ActiveRecord\ActiveRecordCacheBase

Indirect known implementers

ICanBoogie\ActiveRecord\RuntimeActiveRecordCache

Namespace: ICanBoogie\ActiveRecord
Located at ActiveRecord/ActiveRecordCache.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 retrieve( integer $key ) : ICanBoogie\ActiveRecord|null

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( void )

Clears the cache.

Clears the cache.

ActiveRecord v2.3.0 – Check on GitHub – API documentation generated by ApiGen