03-ct_file.sgml

来自「PHPLOB注释详细版 使用模板技术的好帮手 PHP最有用的东东了」· SGML 代码 · 共 34 行

SGML
34
字号
<!-- $Id: 03-ct_file.sgml,v 1.1.1.1 2000/04/17 16:40:00 kk Exp $ --><sect1>CT_File<p>To let Session use a file as a container, you useCT_Fole. <sect2>Instance variables<p><table><tabular ca="">file&lowbar;path<colsep>The path of the directory where to write the files (must exist already AND must be writable by the server process)<rowsep></tabular><caption>Accessible instance variables.</caption></table><sect2>Example<p>Use a subclass to provide the appropriate parameters to your container. Usually your subclass looks like this: <tscreen><code>class My&lowbar;File extends CT&lowbar;File {	var $file&lowbar;path = "/tmp/";}</code></tscreen>You can then use My&lowbar;File in class Session. Reference itby putting "My&lowbar;File" in the "that&lowbar;class" variable.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?