phpDocumentor openbiz.bin.service
[ class tree: openbiz.bin.service ] [ index: openbiz.bin.service ] [ all elements ]

Class: cacheService

Source Location: /service/cacheService.php

Class cacheService

Class Overview

accessService class is the plug-in service of handling cache

Located in /service/cacheService.php [line 29]



		
				Author(s):
		
  • Rocky Swen
API Tags:
Access:  public

Information Tags:
Copyright:  Copyright (c) 2005-2009, Rocky Swen

Properties

Methods

[ Top ]
Property Summary
mixed   $m_Cache  
mixed   $m_CacheEngine  
mixed   $m_CacheEngineOptions  
mixed   $m_CacheObj  
mixed   $m_CacheOptions  

[ Top ]
Method Summary
void   __construct()   Initialize accessService with xml array metadata
   cleanAll()   clean all
   cleanExpired()   clean Expired
void   destroy()   Destroy cache
boolean|Zend_Cache   init()   Initialize cache
   load()   Load cache
void   ReadMetadata()   Read array meta data, and store to meta object
   remove()   Remove cache
   save()   Save cache
   test()   Test cache

[ Top ]
Properties
mixed   $m_Cache = "Disbaled" [line 31]
API Tags:
Access:  public


[ Top ]
mixed   $m_CacheEngine = "File" [line 32]
API Tags:
Access:  public


[ Top ]
mixed   $m_CacheEngineOptions = array() [line 35]
API Tags:
Access:  protected


[ Top ]
mixed   $m_CacheObj = null [line 36]
API Tags:
Access:  protected


[ Top ]
mixed   $m_CacheOptions = array() [line 34]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 44]

  void __construct( array &$xmlArr  )

Initialize accessService with xml array metadata

Parameters:
array   $xmlArr: 


[ Top ]
cleanAll  [line 255]

  cleanAll( )

clean all


API Tags:
Access:  public


[ Top ]
cleanExpired  [line 272]

  cleanExpired( )

clean Expired


API Tags:
Access:  public


[ Top ]
destroy  [line 54]

  void destroy( )

Destroy cache


API Tags:
Access:  public


[ Top ]
init  [line 141]

  boolean|Zend_Cache init( [string $objName = ""], [number $lifeTime = 0]  )

Initialize cache

Parameters:
string   $objName: 
number   $lifeTime: 

API Tags:
Access:  public


[ Top ]
load  [line 204]

  load( $id  )

Load cache

Parameters:
   $id: 

API Tags:
Access:  public


[ Top ]
ReadMetadata  [line 69]

  void ReadMetadata( array &$xmlArr  )

Read array meta data, and store to meta object

Parameters:
array   $xmlArr: 

API Tags:
Access:  protected


[ Top ]
remove  [line 238]

  remove( $id  )

Remove cache

Parameters:
   $id: 

API Tags:
Access:  public


[ Top ]
save  [line 186]

  save( $data, $id  )

Save cache

Parameters:
   $data: 
   $id: 

API Tags:
Access:  public


[ Top ]
test  [line 221]

  test( $id  )

Test cache

Parameters:
   $id: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Tue, 22 Dec 2009 03:02:39 -0800 by phpDocumentor 1.3.0RC3