cvs: peardoc /en/package/html/html-template-flexy intro.xml

From: Date: Sat, 24 Jul 2004 04:32:22 +0000
Subject: cvs: peardoc /en/package/html/html-template-flexy intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4649@lists.php.net to get a copy of this message
alan_k Sat Jul 24 00:32:22 2004 EDT Modified files: /peardoc/en/package/html/html-template-flexy intro.xml Log: fix bug #1817 - example does not run http://cvs.php.net/diff.php/peardoc/en/package/html/html-template-flexy/intro.xml?r1=1.8&r2=1.9&ty=u Index: peardoc/en/package/html/html-template-flexy/intro.xml diff -u peardoc/en/package/html/html-template-flexy/intro.xml:1.8 peardoc/en/package/html/html-template-flexy/intro.xml:1.9 --- peardoc/en/package/html/html-template-flexy/intro.xml:1.8 Fri Jun 4 02:29:47 2004 +++ peardoc/en/package/html/html-template-flexy/intro.xml Sat Jul 24 00:32:22 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry id="package.html.html-template-flexy.intro"> <refnamediv> <refname>Introduction</refname> @@ -22,7 +22,7 @@ <itemizedlist> <listitem> <simpara>Standard - A rich Tokenizer driven engine, that uses {variable_placeholders}, - attribute based (flexy:foreach=&quot;....&quot;), and custom tag &gt;flexy:tojavascript ... + attribute based (flexy:foreach=&quot;....&quot;), and custom tag &lt;flexy:tojavascript ... To rapidly create PHP code from simple markup. These templates are designed to be editable in WYSIWYG HTML editors, without breaking the tags</simpara> @@ -63,7 +63,7 @@ that contains the data to display (and objects with methods that can be called). This has the added benefit of making the Variables in the template documentable, using <link linkend="standards">PEAR standards</link>, - eg. <link linkend="package.php.phpdoc">PHPDoc</link> comments) + eg. <link linkend="package.php.phpdoc">PHPDoc</link> comments. </simpara> </listitem> @@ -166,6 +166,9 @@ // assign a value to a member. $this->anObject->member = 'Object Member'; + + // if you need form elements - you have to include them. + require_once 'HTML/Template/Flexy/Element.php'; // create an HTML Element for the form element. $this->elements['input'] = new HTML_Template_Flexy_Element;

« previous php.pear.doc (#4649) next »