PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_BBCodeParser » Bug #5844

Extending HTML_BBCodeParser class does not work

Details

Submitted2005-11-01 19:26 UTC
Frommarc-bennewitz at arcor dot de
Assignedcweiske
StatusClosed
PackageHTML_BBCodeParser
PHP Version5.0.4
OSLinux
Roadmaps(Not assigned)

Comments

[2005-11-01 19:26 UTC] marc-bennewitz at arcor dot de

Description:
------------
If i will use a own class of HTML_BBCodeParser but it don't work.

Test script:
---------------
i will use:

class MyBBCodeParser extends HTML_BBCodeParser

this will not work because in the constract method is the line:

if (is_subclass_of($this, 'HTML_BBCodeParser')) return;

now i use:

if (count($this->__filters) > 0) {
return;
}

and it work better