#701 [NEW]: Flexy doc page 1st example missing an include
| From: | jotta at mailbox dot hu | Date: | Sat, 07 Feb 2004 09:26:38 +0000 |
| Subject: | #701 [NEW]: Flexy doc page 1st example missing an include | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-2441@lists.php.net to get a copy of this message | ||
From: jotta at mailbox dot hu
Operating system: Win2k
PHP version: 4.3.3
PHP Bug Type: Documentation
Bug description: Flexy doc page 1st example missing an include
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 bug report at http://pear.php.net/bugs/bug.php?id=701&edit=1
--