Module_OOP_ORM_Parse::get_orm_cache_data
fiexd Module_OOP_ORM_Parse::get_orm_cache_data( string $data_obj , array $index , $config )
参数列表
参数 |
类型 |
描述 |
默认值 |
$data_obj |
string |
$index |
|
$index |
array |
$config |
|
$config |
unknown |
|
|
返回值
File: ./modules/oop/orm/parse.class.php
930 931 932 933 934 935 936 | public static function get_orm_cache_data( OOP_ORM_Data $data_obj , $index , $config )
{
# 获取一个key
$key = OOP_ORM_Parse::get_orm_cache_key( $data_obj , $index , $config );
return Cache::instance( $config [ 'cache' ][ 'driver_config' ])->get( $key );
}
|