cvs: peardoc /ja/package/html/html-template-flexy/html-template-flexy bufferedoutputobject.xml compile.xml getelements.xml html-template-flexy.xml
outputobject.xml
| From: | Soshi Kido | Date: | Thu, 27 May 2004 02:21:19 +0000 |
| Subject: | cvs: peardoc /ja/package/html/html-template-flexy/html-template-flexy bufferedoutputobject.xml compile.xml getelements.xml html-template-flexy.xml outputobject.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4124@lists.php.net to get a copy of this message | ||
sousk Wed May 26 22:21:19 2004 EDT
Added files:
/peardoc/ja/package/html/html-template-flexy/html-template-flexy
bufferedoutputobject.xml
compile.xml
getelements.xml
html-template-flexy.xml
outputobject.xml
Log:
added japanese manual
http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/bufferedoutputobject.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/bufferedoutputobject.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/bufferedoutputobject.xml <!-- EN-Revision: 1.8 Maintainer: sousk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject"> <refnamediv> <refname>$flexy->bufferedOutputObject()</refname> <refpurpose>ã³ã³ããã¼ã©ã¼ãªãã¸ã§ã¯ãããã³ãã¬ã¼ãã¨ãã¼ã¸ããçµæãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string $flexy-><function>bufferedOutputObject</function></funcdef> <paramdef>object <parameter>$controllerObject</parameter></paramdef> <paramdef>array <parameter><optional>$elements</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.desc"> &title.desc; <para> 渡ããããªãã¸ã§ã¯ãã®å¤æ°ãé ç½®ããã³ã³ãã¤ã«ããããã³ãã¬ã¼ããå®è¡ãã¦çµæãè¿ãã¾ãã </para> <para> PEAR::Cache ã¨çµã¿åãããããä¸è¨ã«ç¤ºãããã«é»åã¡ã¼ã«ãã³ãã¬ã¼ãã¨çµã¿åãããäºãåºæ¥ã¾ã (é»åã¡ã¼ã«ãã³ãã¬ã¼ãã«ã¯ã¾ã ãã¹ããå¿ è¦ã§ã - æçµçã«ã¯ããã¯ã¨ã³ãã§é»åã¡ã¼ã«ãã³ãã¬ã¼ãç¨ã®ãã¤ãã£ããã¼ã¯ãã¤ã¶ããµãã¼ãããäºå®ã§ã)ã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>object $controllerObject</parameter> - ãã³ãã¬ã¼ãã«æµãè¾¼ã¿ãããªãã¸ã§ã¯ãããªãã¸ã§ã¯ã夿°ã¯ $controllerObject->tag ã«ã»ããããããã³ãã¬ã¼ãå ã® {tag} 夿°ãç½®ãæãã </para> </listitem> <listitem> <para> <parameter>array $elements</parameter> - ãã©ã¼ã ãããã㯠dynamic ãæå®ããã HTML è¦ç´ ã® name 屿§ (ã¾ã㯠id 屿§) ã«ãã飿³é åããã³ãã¬ã¼ãå ã«å®ç¾©ãããé¨åã¨ãã¼ã¸ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.return"> &title.returns; <para> <parameter>string</parameter> - ãã³ãã¬ã¼ãã«ãªã¼ãã¼ã¬ã¤ããããªãã¸ã§ã¯ã夿° </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.example"> &title.example; <example> <title>Person DataObject send_password method</title> <programlisting role="php"> <![CDATA[ class DataObjects_Person { var $id; var $name; var $password; var $cleartextPassword; var $email; function sendEmail($templateFile,$content) { $content = is_object($content) ? $content : (object) $content; foreach(get_object_vars($this) as $k=>$v) { $content->$k = $v; } /* <tags ããã¼ã¹ããªãããã« regex ã³ã³ãã¤ã©ã使ç¨ãã */ $template = new HTML_Template_Flexy( array( 'compiler' => 'Regex', 'filters' => array('SimpleTags','Mail'), )); /* ããã¹ããã¡ã¤ã« (ã¡ã¼ã«ãã³ãã¬ã¼ã) ãã³ã³ãã¤ã«ãã */ $template->compile($templateFile); /* ãã¼ã¿åºåã«ãã®ãªãã¸ã§ã¯ãã®å¤æ°ã使ç¨ãã */ $mailtext = $template->bufferedOutputObject($content); //echo "<PRE>";print_R($mailtext); /* With the output try and send an email, using a few tricks in Mail_MimeDecode. */ require_once 'Mail/mimeDecode.php'; require_once 'Mail.php'; $decoder = new Mail_mimeDecode($mailtext); $parts = $decoder->getSendArray(); if (PEAR::isError($parts)) { return $parts; } list($recipents,$headers,$body) = $parts; $mailOptions = PEAR::getStaticProperty('Mail','options'); $mail = Mail::factory("SMTP",$mailOptions); return PEAR::isError($mail) ? $mail : $mail->send($recipents,$headers,$body); } } ]]> </programlisting> </example> <example> <title>é»åã¡ã¼ã«ãã³ãã¬ã¼ã</title> <programlisting role="html"> <![CDATA[ From: "HTML_Template_Flexy" <html_template_flexy@pear.php.net> Sender: "HTML_Template_Flexy" <html_template_flexy@pear.php.net> To: {t.email} Subject: Here is your new password Content-Type: text/plain; charset=us-ascii Dear {t.name} Your New Password is {t.cleartextPassword} please use it to log into your bank account :) ]]> </programlisting> </example> <example> <title>çµæã¨ãã¦å¾ãããã¡ã¼ã«ãããã¨æ¬æ</title> <programlisting role="html"> <![CDATA[ From: "HTML_Template_Flexy" <html_template_flexy@pear.php.net> Sender: "HTML_Template_Flexy" <html_template_flexy@pear.php.net> To: demo@example.com Subject: Here is your new password Content-Type: text/plain; charset=us-ascii Dear Fred Blobs Your New Password is 0ab123dcc please use it to log into your bank account :) ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/compile.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/compile.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/compile.xml <!-- En-Revision: 1.6 Maintainer: sousk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.compile"> <refnamediv> <refname>$flexy->compile()</refname> <refpurpose>ã³ã³ãã¤ã«ããå¿ è¦ãããã°ãã¼ã¯ã¢ããã PHP ã«ã³ã³ãã¤ã«ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void $flexy-> <function>compile</function></funcdef> <paramdef>string <parameter>$template</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.desc"> &title.desc; <para> ã³ã³ãã¤ã«ããå¿ è¦ãããã°ããã³ãã¬ã¼ãã®ãã¼ã¯ã¢ããã PHP ã®ã³ã¼ãã«ç½®æãã compiledTemplate ãã£ã¬ã¯ããªã«ãã¡ã¤ã«åã filename.{locale}.php ã¨ãã¦æ¸ãè¾¼ã¿ã¾ãã ãã³ãã¬ã¼ãã®ã³ã³ãã¤ã«ã¯å¿ è¦ã«å¿ãã¦ä»¥ä¸ã®å ´åã«ã®ã¿å®è¡ããã¾ãã </para> <para> <itemizedlist> <listitem><simpara>ã³ã³ãã¤ã«ããããã¡ã¤ã«ãåå¨ããªã</simpara></listitem> <listitem><simpara>ãã³ãã¬ã¼ãã«å¤æ´ãå ãããã¦ãããã³ã³ãã¤ã«ããããã®ãã大ãã</simpara></listitem> <listitem><simpara>ãã³ãã¬ã¼ããªãã¸ã§ã¯ãã®ä½ææãã¾ãã¯è¨å®ã«ãã forceCompile ã®ãã©ã°ãæå¹ã«ãªã£ã¦ãã</simpara></listitem> </itemizedlist> </para> <para> ãã³ãã¬ã¼ãã¨ã³ã¸ã³èªä½ã«é¢ãã使¥ãè¡ãå ´åãé¤ãã é常ã®å©ç¨ã§ã¯ forceCompile ãã©ã°ãæå¹ã«ããå¿ è¦ã¯ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $template</parameter> - templateDir ã«è¨å®ãããå¤ã¨çµã¿åãããã PHP ã³ã¼ãã«ã³ã³ãã¤ã«ãããã¹ããã³ãã¬ã¼ããæã示ãã¾ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.return"> &title.returns; <para> <parameter>string</parameter> - ã³ã³ãã¤ã«ããããã¡ã¤ã«ã¸ã®ãã¡ã¤ã«ãã¹ (include ã§ãã¡ã¤ã«ãèªã¿è¾¼ãã®ã«ä½¿ãã¾ããã outputObject ã¡ã½ããã®å©ç¨ãæ¨å¥¨ãã¾ã) </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.example"> &title.example; <example> <title>è¤æ°ã®ãã¡ã¤ã«ãã³ã³ãã¤ã«ãã</title> <programlisting role="php"> <![CDATA[ class controller_test { var $masterTemplate = "master.html" var $template = "home.html"; // name of template var $title; // page title; var $numbers = array(); // an array example /* start section - deals with posts, get variables etc.*/ function controller_test() { $this->start(); $this->output(); } function start() { $this->title = "<Hello World>"; for ($i = 1;$i< 5;$i++) { $this->numbers[$i] = "Number $i"; } } /* output section - probably best to put this in the default_controller class */ function output() { $master = new HTML_Template_Flexy(); $master->compile($this->masterTemplate); $master->outputObject($this); } function outputBody() { $body = new HTML_Template_Flexy(); $body->compile($this->template); $body->outputObject($this); } } new controller_test; ]]> </programlisting> </example> <example> <title>ãã¹ã¿ã¼ãã³ãã¬ã¼ãã®ä¾</title> <programlisting role="html"> <![CDATA[ Page Header Goes here. {outputBody()} Page Footer Goes here ]]> </programlisting> </example> <example> <title>ç°¡åãªåºåä¾</title> <programlisting role="html"> <![CDATA[ Page Header Goes here. some numbers Number 1 Number 2 Number 3 Number 4 Page Footer Goes here ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/getelements.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/getelements.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/getelements.xml <!-- EN-Revision: 1.2 Maintainer: souSk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.getelements"> <refnamediv> <refname>$flexy->getElements()</refname> <refpurpose>ãã³ãã¬ã¼ãããåçè¦ç´ ãåãåºã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void $flexy-> <function>getElements</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.getelements.desc"> &title.desc; <para> FORMãINPUTãSELECTãããã«å±æ§å¤ã« flexy:dynamic ãæã¤ HTML ã¿ã°ã¯ HTML_Template_Flexy_Element ã®ãã®ã«ç½®æããã ã³ã³ãã¤ã«ããã Flexy ãã³ãã¬ã¼ãã¨åããã©ã«ã (compileDir) ã«ã·ãªã¢ã©ã¤ãºããã¦ä¿åããã¾ãã </para> <para> ãããå©ç¨ãã¦ããããã® HTML è¦ç´ ã«å¤æ´ãå ãããããã¼ã¸å ã«ã©ããã£ããã©ã¼ã è¦ç´ ãããã®ãã調ã¹ãäºãåºæ¥ã¾ãã </para> <para> 注æ: 夿´ãå ããå¤ã¯ $outputObject ã«å¼æ° $elements ã¨ãã¦æ¸¡ãå¿ è¦ãããã¾ãã ã¢ãµã¤ã³ãè¡ãããã«è¦ç´ ãåãåºãå¿ è¦ã¯ãªãã空ã®è¦ç´ ã使ãã¦ãã¼ã¸ããã ãã§æ§ãã¾ããã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.getelements.return"> &title.returns; <para> <parameter>array</parameter> - ãã³ãã¬ã¼ãã«å«ã¾ãã HTML è¦ç´ ã®é å (ãã©ã¼ã è¦ç´ ãåçè¦ç´ ãç¡ãå ´åã¯ç©ºã®é åãè¿ã) </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.getelements.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.getelements.example"> &title.example; <example> <title>ãã³ãã¬ã¼ãã®å é¨ã調ã¹ã</title> <programlisting role="php"> <![CDATA[ $form = new HTML_Template_Flexy(); $form->compile($this->masterTemplate); print_r($form->getElements()); ]]> </programlisting> </example> <example> <title>ãã³ãã¬ã¼ãã®ä¾</title> <programlisting role="html"> <![CDATA[ <BODY> <FORM name="XXXX"> <INPUT name="yyy"> <SELECT name="zzz"> <OPTION value="aaaa">AAAAA</OPTION> </SELECT> </FORM> </BODY> ]]> </programlisting> </example> <example> <title>ã³ã³ãã¤ã«ããããã³ãã¬ã¼ã</title> <programlisting role="html"> <![CDATA[ <BODY> <?php echo $this->elements['XXXX']->toHtmlnoClose();?> <?php echo $this->elements['yyy']->toHtml();?> <?php echo $this->elements['zzz']->toHtml();?> </form> </BODY> ]]> </programlisting> </example> <example> <title>å 鍿¢æ»ã®åºåçµæ</title> <programlisting> <![CDATA[ Array ( [XXXX] => html_template_flexy_element Object ( [tag] => form [attributes] => Array ( [name] => XXXX ) [children] => Array ( ) [override] => [prefix] => [suffix] => [value] => ) [yyy] => html_template_flexy_element Object ( [tag] => input [attributes] => Array ( [name] => yyy ) [children] => Array ( ) [override] => [prefix] => [suffix] => [value] => ) [zzz] => html_template_flexy_element Object ( [tag] => select [attributes] => Array ( [name] => zzz ) [children] => Array ( [0] => [1] => html_template_flexy_element Object ( [tag] => option [attributes] => Array ( [value] => aaaa ) [children] => Array ( [0] => AAAAA ) [override] => [prefix] => [suffix] => [value] => ) [2] => ) [override] => [prefix] => [suffix] => [value] => ) ) ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/html-template-flexy.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/html-template-flexy.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/html-template-flexy.xml <!-- EN-Revision: 1.4 Maintainer: sousk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.html-template-flexy"> <refnamediv> <refname>new HTML_Template_Flexy</refname> <refpurpose>constructor</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/Flexy.php'; </funcsynopsisinfo> <funcprototype> <funcdef>new <function>HTML_Template_Flexy</function></funcdef> <paramdef>array <parameter><optional>$options</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.html-template-flexy.desc"> &title.desc; <para> ã³ã³ã¹ãã©ã¯ã¿ã®å¼æ°ã«ãªãã·ã§ã³ãåãã¾ãã ãã®æ¹æ³ã§ãªãã·ã§ã³ãè¨å®ããããã¯ãè¨å®ãä¸ã«æã«ã¾ã¨ã PEAR::getStaticProperty() ã使ã£ã¦ Flexy ã®ãªãã·ã§ã³è¨å®ãè¡ãã®ãæ®éã§ãã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.html-template-flexy.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $options</parameter> - åæå¤ãã夿´ããããã©ã¡ã¼ã¿ã¼ãåæ </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.html-template-flexy.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/outputobject.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/outputobject.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/outputobject.xml <!-- EN-Revision: 1.6 Maintainer: sousk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.outputobject"> <refnamediv> <refname>$flexy->outputObject()</refname> <refpurpose>ã³ã³ããã¼ã©ãªãã¸ã§ã¯ãã¨ãã³ãã¬ã¼ãããã¼ã¸ããçµæãåºåãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void $flexy-> <function>outputObject</function></funcdef> <paramdef>object <parameter>$controllerObject</parameter></paramdef> <paramdef>array <parameter><optional>$elements</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.outputobject.desc"> &title.desc; <para> 弿°ã«æå®ããããªãã¸ã§ã¯ãã®å¤æ° (ã¨ä»»æã§ãã¼ãããã HTML_Template_Flexy_Elements) ãããã³ãã¬ã¼ãå®è¡æã«æå¹ã«ãªãããã«ã»ãããã¾ãã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.outputobject.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>object $controllerObject</parameter> - ãã³ãã¬ã¼ãã«é©ç¨ããããªãã¸ã§ã¯ãããªãã¸ã§ã¯ã夿°ã¯ $controllerObject->tag ã¨é¢é£ã¥ãããããã³ãã¬ã¼ãå ã® {tag} ã«ãããããã </para> </listitem> <listitem> <para> <parameter>array $elements</parameter> - ãã©ã¼ã ãã¾ã㯠dynamic ãæå®ãããè¦ç´ ã® name 屿§ (ã¾ã㯠id 屿§)ã§ããã³ãã¬ã¼ãå ã®å®ç¾©ãããé¨åã¨ãã¼ã¸ãããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.outputobject.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.outputobject.example"> &title.example; <example> <title>ãã³ãã¬ã¼ãã®æºåã¨åºå</title> <programlisting role="php"> <![CDATA[ class example { var $tag = ">> hello world"; } $data = new example; $elements['test'] = new HTML_Template_Flexy_Element; $elements['test']->setValue("hello input"); $output = new HTML_Template_Flexy(); $output->compile("hello.html"); $output->outputObject($data,$elements); ]]> </programlisting> </example> <example> <title>ãã³ãã¬ã¼ãã¨ã¿ã°</title> <programlisting role="html"> <![CDATA[ <B>{tag}</B> <B>{tag:h}</B> <INPUT name="test"> ]]> </programlisting> </example> <example> <title>çµæã®åºå</title> <programlisting role="html"> <![CDATA[ <B>>> hello world</B> <B>>> hello world</B> <INPUT name="test" value="hello input"> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/bufferedoutputobject.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/bufferedoutputobject.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/bufferedoutputobject.xml <!-- EN-Revision: 1.8 Maintainer: sousk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject"> <refnamediv> <refname>$flexy->bufferedOutputObject()</refname> <refpurpose>ã³ã³ããã¼ã©ã¼ãªãã¸ã§ã¯ãããã³ãã¬ã¼ãã¨ãã¼ã¸ããçµæãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>string $flexy-><function>bufferedOutputObject</function></funcdef> <paramdef>object <parameter>$controllerObject</parameter></paramdef> <paramdef>array <parameter><optional>$elements</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.desc"> &title.desc; <para> 渡ããããªãã¸ã§ã¯ãã®å¤æ°ãé ç½®ããã³ã³ãã¤ã«ããããã³ãã¬ã¼ããå®è¡ãã¦çµæãè¿ãã¾ãã </para> <para> PEAR::Cache ã¨çµã¿åãããããä¸è¨ã«ç¤ºãããã«é»åã¡ã¼ã«ãã³ãã¬ã¼ãã¨çµã¿åãããäºãåºæ¥ã¾ã (é»åã¡ã¼ã«ãã³ãã¬ã¼ãã«ã¯ã¾ã ãã¹ããå¿ è¦ã§ã - æçµçã«ã¯ããã¯ã¨ã³ãã§é»åã¡ã¼ã«ãã³ãã¬ã¼ãç¨ã®ãã¤ãã£ããã¼ã¯ãã¤ã¶ããµãã¼ãããäºå®ã§ã)ã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>object $controllerObject</parameter> - ãã³ãã¬ã¼ãã«æµãè¾¼ã¿ãããªãã¸ã§ã¯ãããªãã¸ã§ã¯ã夿°ã¯ $controllerObject->tag ã«ã»ããããããã³ãã¬ã¼ãå ã® {tag} 夿°ãç½®ãæãã </para> </listitem> <listitem> <para> <parameter>array $elements</parameter> - ãã©ã¼ã ãããã㯠dynamic ãæå®ããã HTML è¦ç´ ã® name 屿§ (ã¾ã㯠id 屿§) ã«ãã飿³é åããã³ãã¬ã¼ãå ã«å®ç¾©ãããé¨åã¨ãã¼ã¸ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.return"> &title.returns; <para> <parameter>string</parameter> - ãã³ãã¬ã¼ãã«ãªã¼ãã¼ã¬ã¤ããããªãã¸ã§ã¯ã夿° </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.bufferedoutputobject.example"> &title.example; <example> <title>Person DataObject send_password method</title> <programlisting role="php"> <![CDATA[ class DataObjects_Person { var $id; var $name; var $password; var $cleartextPassword; var $email; function sendEmail($templateFile,$content) { $content = is_object($content) ? $content : (object) $content; foreach(get_object_vars($this) as $k=>$v) { $content->$k = $v; } /* <tags ããã¼ã¹ããªãããã« regex ã³ã³ãã¤ã©ã使ç¨ãã */ $template = new HTML_Template_Flexy( array( 'compiler' => 'Regex', 'filters' => array('SimpleTags','Mail'), )); /* ããã¹ããã¡ã¤ã« (ã¡ã¼ã«ãã³ãã¬ã¼ã) ãã³ã³ãã¤ã«ãã */ $template->compile($templateFile); /* ãã¼ã¿åºåã«ãã®ãªãã¸ã§ã¯ãã®å¤æ°ã使ç¨ãã */ $mailtext = $template->bufferedOutputObject($content); //echo "<PRE>";print_R($mailtext); /* With the output try and send an email, using a few tricks in Mail_MimeDecode. */ require_once 'Mail/mimeDecode.php'; require_once 'Mail.php'; $decoder = new Mail_mimeDecode($mailtext); $parts = $decoder->getSendArray(); if (PEAR::isError($parts)) { return $parts; } list($recipents,$headers,$body) = $parts; $mailOptions = PEAR::getStaticProperty('Mail','options'); $mail = Mail::factory("SMTP",$mailOptions); return PEAR::isError($mail) ? $mail : $mail->send($recipents,$headers,$body); } } ]]> </programlisting> </example> <example> <title>é»åã¡ã¼ã«ãã³ãã¬ã¼ã</title> <programlisting role="html"> <![CDATA[ From: "HTML_Template_Flexy" <html_template_flexy@pear.php.net> Sender: "HTML_Template_Flexy" <html_template_flexy@pear.php.net> To: {t.email} Subject: Here is your new password Content-Type: text/plain; charset=us-ascii Dear {t.name} Your New Password is {t.cleartextPassword} please use it to log into your bank account :) ]]> </programlisting> </example> <example> <title>çµæã¨ãã¦å¾ãããã¡ã¼ã«ãããã¨æ¬æ</title> <programlisting role="html"> <![CDATA[ From: "HTML_Template_Flexy" <html_template_flexy@pear.php.net> Sender: "HTML_Template_Flexy" <html_template_flexy@pear.php.net> To: demo@example.com Subject: Here is your new password Content-Type: text/plain; charset=us-ascii Dear Fred Blobs Your New Password is 0ab123dcc please use it to log into your bank account :) ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/compile.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/compile.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/compile.xml <!-- En-Revision: 1.6 Maintainer: sousk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.compile"> <refnamediv> <refname>$flexy->compile()</refname> <refpurpose>ã³ã³ãã¤ã«ããå¿ è¦ãããã°ãã¼ã¯ã¢ããã PHP ã«ã³ã³ãã¤ã«ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void $flexy-> <function>compile</function></funcdef> <paramdef>string <parameter>$template</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.desc"> &title.desc; <para> ã³ã³ãã¤ã«ããå¿ è¦ãããã°ããã³ãã¬ã¼ãã®ãã¼ã¯ã¢ããã PHP ã®ã³ã¼ãã«ç½®æãã compiledTemplate ãã£ã¬ã¯ããªã«ãã¡ã¤ã«åã filename.{locale}.php ã¨ãã¦æ¸ãè¾¼ã¿ã¾ãã ãã³ãã¬ã¼ãã®ã³ã³ãã¤ã«ã¯å¿ è¦ã«å¿ãã¦ä»¥ä¸ã®å ´åã«ã®ã¿å®è¡ããã¾ãã </para> <para> <itemizedlist> <listitem><simpara>ã³ã³ãã¤ã«ããããã¡ã¤ã«ãåå¨ããªã</simpara></listitem> <listitem><simpara>ãã³ãã¬ã¼ãã«å¤æ´ãå ãããã¦ãããã³ã³ãã¤ã«ããããã®ãã大ãã</simpara></listitem> <listitem><simpara>ãã³ãã¬ã¼ããªãã¸ã§ã¯ãã®ä½ææãã¾ãã¯è¨å®ã«ãã forceCompile ã®ãã©ã°ãæå¹ã«ãªã£ã¦ãã</simpara></listitem> </itemizedlist> </para> <para> ãã³ãã¬ã¼ãã¨ã³ã¸ã³èªä½ã«é¢ãã使¥ãè¡ãå ´åãé¤ãã é常ã®å©ç¨ã§ã¯ forceCompile ãã©ã°ãæå¹ã«ããå¿ è¦ã¯ããã¾ããã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $template</parameter> - templateDir ã«è¨å®ãããå¤ã¨çµã¿åãããã PHP ã³ã¼ãã«ã³ã³ãã¤ã«ãããã¹ããã³ãã¬ã¼ããæã示ãã¾ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.return"> &title.returns; <para> <parameter>string</parameter> - ã³ã³ãã¤ã«ããããã¡ã¤ã«ã¸ã®ãã¡ã¤ã«ãã¹ (include ã§ãã¡ã¤ã«ãèªã¿è¾¼ãã®ã«ä½¿ãã¾ããã outputObject ã¡ã½ããã®å©ç¨ãæ¨å¥¨ãã¾ã) </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.compile.example"> &title.example; <example> <title>è¤æ°ã®ãã¡ã¤ã«ãã³ã³ãã¤ã«ãã</title> <programlisting role="php"> <![CDATA[ class controller_test { var $masterTemplate = "master.html" var $template = "home.html"; // name of template var $title; // page title; var $numbers = array(); // an array example /* start section - deals with posts, get variables etc.*/ function controller_test() { $this->start(); $this->output(); } function start() { $this->title = "<Hello World>"; for ($i = 1;$i< 5;$i++) { $this->numbers[$i] = "Number $i"; } } /* output section - probably best to put this in the default_controller class */ function output() { $master = new HTML_Template_Flexy(); $master->compile($this->masterTemplate); $master->outputObject($this); } function outputBody() { $body = new HTML_Template_Flexy(); $body->compile($this->template); $body->outputObject($this); } } new controller_test; ]]> </programlisting> </example> <example> <title>ãã¹ã¿ã¼ãã³ãã¬ã¼ãã®ä¾</title> <programlisting role="html"> <![CDATA[ Page Header Goes here. {outputBody()} Page Footer Goes here ]]> </programlisting> </example> <example> <title>ç°¡åãªåºåä¾</title> <programlisting role="html"> <![CDATA[ Page Header Goes here. some numbers Number 1 Number 2 Number 3 Number 4 Page Footer Goes here ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/getelements.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/getelements.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/getelements.xml <!-- EN-Revision: 1.2 Maintainer: souSk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.getelements"> <refnamediv> <refname>$flexy->getElements()</refname> <refpurpose>ãã³ãã¬ã¼ãããåçè¦ç´ ãåãåºã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void $flexy-> <function>getElements</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.getelements.desc"> &title.desc; <para> FORMãINPUTãSELECTãããã«å±æ§å¤ã« flexy:dynamic ãæã¤ HTML ã¿ã°ã¯ HTML_Template_Flexy_Element ã®ãã®ã«ç½®æããã ã³ã³ãã¤ã«ããã Flexy ãã³ãã¬ã¼ãã¨åããã©ã«ã (compileDir) ã«ã·ãªã¢ã©ã¤ãºããã¦ä¿åããã¾ãã </para> <para> ãããå©ç¨ãã¦ããããã® HTML è¦ç´ ã«å¤æ´ãå ãããããã¼ã¸å ã«ã©ããã£ããã©ã¼ã è¦ç´ ãããã®ãã調ã¹ãäºãåºæ¥ã¾ãã </para> <para> 注æ: 夿´ãå ããå¤ã¯ $outputObject ã«å¼æ° $elements ã¨ãã¦æ¸¡ãå¿ è¦ãããã¾ãã ã¢ãµã¤ã³ãè¡ãããã«è¦ç´ ãåãåºãå¿ è¦ã¯ãªãã空ã®è¦ç´ ã使ãã¦ãã¼ã¸ããã ãã§æ§ãã¾ããã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.getelements.return"> &title.returns; <para> <parameter>array</parameter> - ãã³ãã¬ã¼ãã«å«ã¾ãã HTML è¦ç´ ã®é å (ãã©ã¼ã è¦ç´ ãåçè¦ç´ ãç¡ãå ´åã¯ç©ºã®é åãè¿ã) </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.getelements.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.getelements.example"> &title.example; <example> <title>ãã³ãã¬ã¼ãã®å é¨ã調ã¹ã</title> <programlisting role="php"> <![CDATA[ $form = new HTML_Template_Flexy(); $form->compile($this->masterTemplate); print_r($form->getElements()); ]]> </programlisting> </example> <example> <title>ãã³ãã¬ã¼ãã®ä¾</title> <programlisting role="html"> <![CDATA[ <BODY> <FORM name="XXXX"> <INPUT name="yyy"> <SELECT name="zzz"> <OPTION value="aaaa">AAAAA</OPTION> </SELECT> </FORM> </BODY> ]]> </programlisting> </example> <example> <title>ã³ã³ãã¤ã«ããããã³ãã¬ã¼ã</title> <programlisting role="html"> <![CDATA[ <BODY> <?php echo $this->elements['XXXX']->toHtmlnoClose();?> <?php echo $this->elements['yyy']->toHtml();?> <?php echo $this->elements['zzz']->toHtml();?> </form> </BODY> ]]> </programlisting> </example> <example> <title>å 鍿¢æ»ã®åºåçµæ</title> <programlisting> <![CDATA[ Array ( [XXXX] => html_template_flexy_element Object ( [tag] => form [attributes] => Array ( [name] => XXXX ) [children] => Array ( ) [override] => [prefix] => [suffix] => [value] => ) [yyy] => html_template_flexy_element Object ( [tag] => input [attributes] => Array ( [name] => yyy ) [children] => Array ( ) [override] => [prefix] => [suffix] => [value] => ) [zzz] => html_template_flexy_element Object ( [tag] => select [attributes] => Array ( [name] => zzz ) [children] => Array ( [0] => [1] => html_template_flexy_element Object ( [tag] => option [attributes] => Array ( [value] => aaaa ) [children] => Array ( [0] => AAAAA ) [override] => [prefix] => [suffix] => [value] => ) [2] => ) [override] => [prefix] => [suffix] => [value] => ) ) ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/html-template-flexy.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/html-template-flexy.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/html-template-flexy.xml <!-- EN-Revision: 1.4 Maintainer: sousk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.html-template-flexy"> <refnamediv> <refname>new HTML_Template_Flexy</refname> <refpurpose>constructor</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'HTML/Template/Flexy.php'; </funcsynopsisinfo> <funcprototype> <funcdef>new <function>HTML_Template_Flexy</function></funcdef> <paramdef>array <parameter><optional>$options</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.html-template-flexy.desc"> &title.desc; <para> ã³ã³ã¹ãã©ã¯ã¿ã®å¼æ°ã«ãªãã·ã§ã³ãåãã¾ãã ãã®æ¹æ³ã§ãªãã·ã§ã³ãè¨å®ããããã¯ãè¨å®ãä¸ã«æã«ã¾ã¨ã PEAR::getStaticProperty() ã使ã£ã¦ Flexy ã®ãªãã·ã§ã³è¨å®ãè¡ãã®ãæ®éã§ãã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.html-template-flexy.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $options</parameter> - åæå¤ãã夿´ããããã©ã¡ã¼ã¿ã¼ãåæ </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.html-template-flexy.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/html/html-template-flexy/html-template-flexy/outputobject.xml?r=1.1&p=1 Index: peardoc/ja/package/html/html-template-flexy/html-template-flexy/outputobject.xml +++ peardoc/ja/package/html/html-template-flexy/html-template-flexy/outputobject.xml <!-- EN-Revision: 1.6 Maintainer: sousk Status: ready --> <refentry id="package.html.html-template-flexy.html-template-flexy.outputobject"> <refnamediv> <refname>$flexy->outputObject()</refname> <refpurpose>ã³ã³ããã¼ã©ãªãã¸ã§ã¯ãã¨ãã³ãã¬ã¼ãããã¼ã¸ããçµæãåºåãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcprototype> <funcdef>void $flexy-> <function>outputObject</function></funcdef> <paramdef>object <parameter>$controllerObject</parameter></paramdef> <paramdef>array <parameter><optional>$elements</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-template-flexy.html-template-flexy.outputobject.desc"> &title.desc; <para> 弿°ã«æå®ããããªãã¸ã§ã¯ãã®å¤æ° (ã¨ä»»æã§ãã¼ãããã HTML_Template_Flexy_Elements) ãããã³ãã¬ã¼ãå®è¡æã«æå¹ã«ãªãããã«ã»ãããã¾ãã </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.outputobject.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>object $controllerObject</parameter> - ãã³ãã¬ã¼ãã«é©ç¨ããããªãã¸ã§ã¯ãããªãã¸ã§ã¯ã夿°ã¯ $controllerObject->tag ã¨é¢é£ã¥ãããããã³ãã¬ã¼ãå ã® {tag} ã«ãããããã </para> </listitem> <listitem> <para> <parameter>array $elements</parameter> - ãã©ã¼ã ãã¾ã㯠dynamic ãæå®ãããè¦ç´ ã® name 屿§ (ã¾ã㯠id 屿§)ã§ããã³ãã¬ã¼ãå ã®å®ç¾©ãããé¨åã¨ãã¼ã¸ãããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.outputobject.note"> &title.note; ¬e.notstatic; </refsect1> <refsect1 id="package.html.html-template-flexy.html-template-flexy.outputobject.example"> &title.example; <example> <title>ãã³ãã¬ã¼ãã®æºåã¨åºå</title> <programlisting role="php"> <![CDATA[ class example { var $tag = ">> hello world"; } $data = new example; $elements['test'] = new HTML_Template_Flexy_Element; $elements['test']->setValue("hello input"); $output = new HTML_Template_Flexy(); $output->compile("hello.html"); $output->outputObject($data,$elements); ]]> </programlisting> </example> <example> <title>ãã³ãã¬ã¼ãã¨ã¿ã°</title> <programlisting role="html"> <![CDATA[ <B>{tag}</B> <B>{tag:h}</B> <INPUT name="test"> ]]> </programlisting> </example> <example> <title>çµæã®åºå</title> <programlisting role="html"> <![CDATA[ <B>>> hello world</B> <B>>> hello world</B> <INPUT name="test" value="hello input"> ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->