PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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