FLEA_View_Simple类参考

所有成员的列表。

公有成员

 FLEA_View_Simple ($path=null)
 assign ($name, $value=null)
fetch ($file, $cacheId=null)
 display ($file, $cacheId=null)
 isCached ($file, $cacheId=null)
 cleanCache ($file, $cacheId=null)
 cleanAllCache ()
 _getCacheFile ($file, $cacheId)

公有属性

 $path
 $cacheLifetime
 $enableCache
 $cacheDir
 $vars
 $cacheState


详细描述

在文件View/Simple.php28行定义。


成员函数文档

FLEA_View_Simple::FLEA_View_Simple ( path = null  ) 

构造函数

参数:
string $path 模板文件所在路径
返回:
FLEA_View_Simple

在文件View/Simple.php84行定义。

参考 $pathlog_message().

FLEA_View_Simple::assign ( name,
value = null 
)

设置模板变量

参数:
mixed $name 模板变量名称
mixed $value 变量内容

在文件View/Simple.php100行定义。

& FLEA_View_Simple::fetch ( file,
cacheId = null 
)

构造模板输出内容

参数:
string $file 模板文件名
string $cacheId 缓存 ID,如果指定该值则会使用该内容的缓存输出
返回:
string

在文件View/Simple.php116行定义。

参考 _getCacheFile()isCached().

参考自 display().

FLEA_View_Simple::display ( file,
cacheId = null 
)

显示指定模版的内容

参数:
string $file 模板文件名
string $cacheId 缓存 ID,如果指定该值则会使用该内容的缓存输出

在文件View/Simple.php146行定义。

参考 fetch().

FLEA_View_Simple::isCached ( file,
cacheId = null 
)

检查内容是否已经被缓存

参数:
string $file 模板文件名
string $cacheId 缓存 ID
返回:
boolean

在文件View/Simple.php158行定义。

参考 _getCacheFile().

参考自 fetch().

FLEA_View_Simple::cleanCache ( file,
cacheId = null 
)

清除指定的缓存

参数:
string $file 模板资源名
string $cacheId 缓存 ID

在文件View/Simple.php190行定义。

参考 _getCacheFile().

FLEA_View_Simple::cleanAllCache (  ) 

清除所有缓存

在文件View/Simple.php197行定义。

FLEA_View_Simple::_getCacheFile ( file,
cacheId 
)

返回缓存文件名

参数:
string $file
string $cacheId
返回:
string

在文件View/Simple.php211行定义。

参考自 cleanCache()fetch()isCached().


成员数据文档

FLEA_View_Simple::$path

在文件View/Simple.php35行定义。

参考自 FLEA_View_Simple().

FLEA_View_Simple::$cacheLifetime

在文件View/Simple.php43行定义。

FLEA_View_Simple::$enableCache

在文件View/Simple.php51行定义。

FLEA_View_Simple::$cacheDir

在文件View/Simple.php59行定义。

FLEA_View_Simple::$vars

在文件View/Simple.php67行定义。

FLEA_View_Simple::$cacheState

在文件View/Simple.php75行定义。


该类的文档由以下文件生成:
Generated at Sat Feb 2 15:18:59 2008 for FleaPHP by  doxygen 1.5.3