BEAR_Cache
[ class tree: BEAR_Cache ] [ index: BEAR_Cache ] [ all elements ]

Class: BEAR_Cache_Adapter_Lite

Source Location: /BEAR/Cache/Adapter/Lite.php

Class Overview

BEAR_Base
   |
   --BEAR_Cache_Adapter
      |
      --BEAR_Cache_Adapter_Lite

PEAR::Cache_Liteアダプター


Author(s):

Version:

  • Release: @package_version@ $Id: Lite.php 2486 2011-06-06 07:44:05Z koriyama@bear-project.net $

Copyright:

  • 2008-2011 Akihito Koriyama All rights reserved.

Methods


Inherited Variables

Inherited Methods

Class: BEAR_Cache_Adapter

BEAR_Cache_Adapter::delete()
キャッシュの削除
BEAR_Cache_Adapter::deleteAll()
キャッシュの全削除
BEAR_Cache_Adapter::get()
キャッシュを取得
BEAR_Cache_Adapter::onInject()
Inject
BEAR_Cache_Adapter::set()
キャッシュ保存

Class: BEAR_Base

BEAR_Base::__construct()
Universal constructor
BEAR_Base::getConfig()
Get config
BEAR_Base::onInject()
Inject
BEAR_Base::setConfig()
Set config
BEAR_Base::setService()
Set service
BEAR_Base::_exception()
例外の作成

Class Details

[line 33]
PEAR::Cache_Liteアダプター

PEAR::Cache_Liteアダプター




Tags:

author:  Akihito Koriyama <koriyama@bear-project.net>
version:  Release: @package_version@ $Id: Lite.php 2486 2011-06-06 07:44:05Z koriyama@bear-project.net $
copyright:  2008-2011 Akihito Koriyama All rights reserved.
link:  http://www.bear-project.net
license:  BSD


[ Top ]


Class Methods


constructor __construct [line 42]

BEAR_Cache_Adapter_Lite __construct( $config)

Constructor取得

Constructor取得




Tags:



Overrides BEAR_Base::__construct() (Universal constructor)

Parameters:

array   $config  

[ Top ]

method delete [line 110]

bool delete( string $key)

キャッシュの削除

キャッシュの削除




Tags:

access:  public


Overrides BEAR_Cache_Adapter::delete() (キャッシュの削除)

Parameters:

string   $key   キー

[ Top ]

method deleteAll [line 122]

bool deleteAll( )

キャッシュの全削除

キャッシュの全削除




Tags:

access:  public


Overrides BEAR_Cache_Adapter::deleteAll() (キャッシュの全削除)

[ Top ]

method get [line 62]

mixed get( string $key, [mixed $options = array('default' => null)])

キャッシュを取得

キャッシュを取得 キーを基にキャッシュデータを取得します




Tags:

access:  public


Overrides BEAR_Cache_Adapter::get() (キャッシュを取得)

Parameters:

string   $key   キー
mixed   $options   オプション

[ Top ]

method set [line 92]

bool set( string $key, mixed $values)

キャッシュを保存

キャッシュを保存




Tags:

access:  public


Overrides BEAR_Cache_Adapter::set() (キャッシュ保存)

Parameters:

string   $key   キー
mixed   $values  

[ Top ]

method setLife [line 135]

BEAR_Cache_Adapter_Lite setLife( [mixed $life = null])

キャッシュ生存時間を決める

キャッシュ生存時間を決める




Tags:

access:  public


Parameters:

mixed   $life   秒 nullで無期限

[ Top ]


Documentation generated on Sat, 30 Jul 2011 00:10:39 +0900 by phpDocumentor 1.4.3