POT
POT
POT
Main menu

Download

Forum

SVN

Interface: IOTS_ItemsCache

Source Location: /classes/IOTS_ItemsCache.php

Interface IOTS_ItemsCache

Interface Overview

This interface defines items.

This interface defines items.xml cache handler as an standard file cache extender.

Located in /classes/IOTS_ItemsCache.php [line 22]

IOTS_FileCache
   |
   --IOTS_ItemsCache
Author(s):
Information Tags:
Tutorial:  Cache drivers
Version:  0.0.8
Since:  0.0.8

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From IOTS_FileCache

IOTS_FileCache::readCache()
Returns cache.
IOTS_FileCache::writeCache()
Writes node cache.

[ Top ]
Method Summary
array|null   readItems()   Returns cache.
void   writeItems()   Writes items cache.

[ Top ]
Methods
readItems  [line 30]

  array|null readItems( string $md5  )

Returns cache.

Returns cache.

Parameters:
string   $md5:  MD5 hash of file.

API Tags:
Return:  List of items (null if file cache is not valid).
Access:  public

Information Tags:
Version:  0.0.8
Since:  0.0.8

[ Top ]
writeItems  [line 37]

  void writeItems( string $md5, array $items  )

Writes items cache.

Writes items cache.

Parameters:
string   $md5:  MD5 checksum of current file.
array   $items:  List of items to be saved.

API Tags:
Access:  public

Information Tags:
Version:  0.0.8
Since:  0.0.8

[ Top ]