#701 [Opn]: Flexy doc page 1st example missing an include

From: Date: Tue, 10 Feb 2004 22:07:17 +0000
Subject: #701 [Opn]: Flexy doc page 1st example missing an include
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-2508@lists.php.net to get a copy of this message
ID: 701 Updated by: gurugeek@php.net Reported By: jotta at mailbox dot hu Status: Open Bug Type: Documentation Operating System: Win2k PHP Version: 4.3.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#2508) next »