#701 [Ver->WFx]: Flexy doc page 1st example missing an include

From: Date: Wed, 09 Jun 2004 23:15:47 +0000
Subject: #701 [Ver->WFx]: Flexy doc page 1st example missing an include
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4358@lists.php.net to get a copy of this message
Edit report at: http://pear.php.net/bugs/bug.php?id=701&edit=1 ID: 701 Updated by: klaus@capitalfocus.org Reported By: jotta at mailbox dot hu -Status: Verified +Status: Wont fix Package: Documentation Operating System: Win2k PHP Version: 4.3.3 Assigned To: alan_k New Comment: This bug seems to refer to examples for individual methods. These examples are snippits that are intended to show use of the particular method being documented. They will not run without modification. For examples that run without modification, check the tutorials and the example files included in $PEAR/docs/HTML_Template_Flexy. Previous Comments: ------------------------------------------------------------------------ [2004-02-23 05:59:27] didou at keliglia dot com alan : it will make the select box too long, I dno't think this is a good idea. what about prepending the package name to the bug summary ? (e.g. : [flexy] Flexy doc page 1st example missing an include) didou ------------------------------------------------------------------------ [2004-02-10 19:40:18] alan_k at php dot net The bug refers to some of the examples. http://pear.php.net/manual/en/package.html.html-template-flexy.html-template-flexy.outputobject.php It would be nice to have doc bugs assigned to a package + documentation :) ------------------------------------------------------------------------ [2004-02-10 17:07:17] gurugeek at php dot net Hello, I had a first check on your report and the example at http://pear.php.net/manual/en/package.html.html- template-flexy.html-template-flexy.html-template- flexy.php looks accurate to me. I am sure that the package lead developer will be in the position to further comment asap. ------------------------------------------------------------------------ [2004-02-07 04:26:36] jotta at mailbox dot hu Description: ------------ On the first page of the Flexy documentation there's an example in which you instantiate a new HTML_Template_Flexy_Element. However, it does not work until a require_once 'HTML/Template/Flexy/Element.php' Reproduce code: --------------- $this->elements['input'] = new HTML_Template_Flexy_Element; Expected result: ---------------- new HTML_Template_Flexy_Element be created and working example Actual result: -------------- Fatal error: Cannot instantiate non-existent class: html_template_flexy_element in e:\www\flexytest\index.php on line 45 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=701&edit=1

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