IcesLockSerializer Class Reference

Special class of IcesSerializer for those objects needing transactional load and save process. More...

Inheritance diagram for IcesLockSerializer:
IcesSerializer

Public Member Functions

 count ($key, $value)
 Count entries. More...
 
 delete (IcesDBObject $object)
 Deletes a database record. More...
 
 load ($id)
 Load object and acquires lock. More...
 
 loadCollection (array $conditions, $order_field=NULL, $order_type= 'ASC')
 Load many objects. More...
 
 loadFromRecord ($record)
 Loads a IcesDBObject from it record. More...
 
 loadFromUniqueKey ($key, $value)
 Not implemented. More...
 
 save (IcesDBObject $object)
 Saves object and releases lock. More...
 
 selectFunctionField ($function, $key, array $conditions)
 Select function. More...
 
 updateField (IcesDBObject $object, $key)
 Updates field and releases lock. More...
 

Static Public Member Functions

static DBTransaction ()
 Start database transaction. More...
 

Protected Member Functions

 deleteCache ()
 Deletes whole static cache. More...
 
 deleteRecordFromCache (array $record)
 Deletes record from static cache. More...
 
 handleSerialized (array &$record)
 Unserializes serialized database record fields. More...
 

Protected Attributes

 $classname
 
 $table
 

Static Protected Attributes

static $cache = array()
 cache array. More...
 

Detailed Description

Special class of IcesSerializer for those objects needing transactional load and save process.

It uses drupal lock framework.


The documentation for this class was generated from the following file: