diff options
| author | fukachan <fukachan> | 2005-12-15 03:08:11 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2005-12-15 03:08:11 +0000 |
| commit | 009877f9f6afd294ded2a883e4086877b33b5381 (patch) | |
| tree | c93195de02d650cea132a23f1be07d0182d0254d /fml/doc | |
| parent | a9615fc1a6cd90649d2227adcdc4742b504e7892 (diff) | |
| download | fml8-009877f9f6afd294ded2a883e4086877b33b5381.tar.gz fml8-009877f9f6afd294ded2a883e4086877b33b5381.tar.bz2 fml8-009877f9f6afd294ded2a883e4086877b33b5381.zip | |
What functions are proper used in config.cf file ?
Diffstat (limited to 'fml/doc')
| -rw-r--r-- | fml/doc/en/tutorial/internals/config.cf.sgml | 31 | ||||
| -rw-r--r-- | fml/doc/ja/tutorial/internals/config.cf.sgml | 44 |
2 files changed, 73 insertions, 2 deletions
diff --git a/fml/doc/en/tutorial/internals/config.cf.sgml b/fml/doc/en/tutorial/internals/config.cf.sgml index 8ca66464..e4f56a89 100644 --- a/fml/doc/en/tutorial/internals/config.cf.sgml +++ b/fml/doc/en/tutorial/internals/config.cf.sgml @@ -1,5 +1,5 @@ <!-- - $FML: config.cf.sgml,v 1.3 2005/07/27 12:21:35 fukachan Exp $ + $FML: config.cf.sgml,v 1.4 2005/09/28 11:05:50 fukachan Exp $ $jaFML: config.cf.sgml,v 1.11 2003/06/20 22:23:14 fukachan Exp $ --> @@ -272,4 +272,33 @@ The variable is expanded in calling get() method. </sect1> +<sect1 id="recipes.internal.config.cf"> + <title> + Recipes + </title> + +<qandaset> + +<qandaentry> + +<question> +<para> +What functions are proper used in config.cf file ? +</para> +</question> + +<answer> +<para> +Use methods of $curproc (in hooks). +</para> +</answer> + +</qandaentry> + +</qandaset> + + +</sect1> + + </chapter> diff --git a/fml/doc/ja/tutorial/internals/config.cf.sgml b/fml/doc/ja/tutorial/internals/config.cf.sgml index 38ab08ac..4ecbafc8 100644 --- a/fml/doc/ja/tutorial/internals/config.cf.sgml +++ b/fml/doc/ja/tutorial/internals/config.cf.sgml @@ -1,5 +1,5 @@ <!-- - $FML: config.cf.sgml,v 1.13 2004/10/06 09:07:38 fukachan Exp $ + $FML: config.cf.sgml,v 1.14 2005/06/25 15:11:33 fukachan Exp $ --> @@ -274,4 +274,46 @@ get() はこのハッシュではなく %_fml_config_result の値を返しています。 </sect1> +<sect1 id="recipes.internal.config.cf"> + <title> + レシピ’s + </title> + +<qandaset> + +<qandaentry> + +<question> +<para> +config.cf 内で使って良い関数はどれですか? +</para> +</question> + +<answer> + +<para> +「$curproc のメソッド」です。 +</para> + +<para> +フックで使える関数の話であることに注意して下さい。 +</para> + +<para> +&fml4; の設定ファイル config.ph と異なり &fml8; の config.cf では +=cut より前は変数を書く場所です。 +perl の関数を書く場所ではありません。 +=cut よりうしろにはフックつまり perl script を書きます。 +</para> + +</answer> + +</qandaentry> + +</qandaset> + + +</sect1> + + </chapter> |
