ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord 3.0.x
Namespaces
  • ICanBoogie
    • ActiveRecord
      • ActiveRecordCache
      • Driver
      • Property
      • Validate
        • Reader
        • Validator
        • ValidatorProvider
Classes
  • AbstractActiveRecordCache
  • RuntimeActiveRecordCache

Class RuntimeActiveRecordCache

Cache records during run time.

ICanBoogie\ActiveRecord\ActiveRecordCache\AbstractActiveRecordCache implements ICanBoogie\ActiveRecord\ActiveRecordCache
┗ ICanBoogie\ActiveRecord\ActiveRecordCache\RuntimeActiveRecordCache implements IteratorAggregate
Namespace: ICanBoogie\ActiveRecord\ActiveRecordCache
Located at ActiveRecord/ActiveRecordCache/RuntimeActiveRecordCache.php

Methods summary

public store( ICanBoogie\ActiveRecord $record )

Parameters

$record

Inheritdoc

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

Parameters

$key

Returns

ICanBoogie\ActiveRecord|null

Inheritdoc

public eliminate( integer $key )

Parameters

$key

Inheritdoc

public clear( void )

Inheritdoc

public getIterator( void )

Inheritdoc

Implementation of

IteratorAggregate::getIterator()

Methods inherited from ICanBoogie\ActiveRecord\ActiveRecordCache\AbstractActiveRecordCache

__construct()

Properties summary

protected $records : ICanBoogie\ActiveRecord[]

Cached records.

Cached records.

[]

Properties inherited from ICanBoogie\ActiveRecord\ActiveRecordCache\AbstractActiveRecordCache

$model

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