#701 [Com]: Flexy doc page 1st example missing an include
| From: | didou at keliglia dot com | Date: | Mon, 23 Feb 2004 10:59:27 +0000 |
| Subject: | #701 [Com]: Flexy doc page 1st example missing an include | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-2702@lists.php.net to get a copy of this message | ||
ID: 701
Comment by: didou at keliglia dot com
Reported By: jotta at mailbox dot hu
Status: Verified
Bug Type: Documentation
Operating System: Win2k
PHP Version: 4.3.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2004-02-10 19:40:18] alan_k@php.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@php.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