Home » HTML » HTML_BBCodeParser » Bug #5844
Extending HTML_BBCodeParser class does not work
Details
| Submitted | 2005-11-01 19:26 UTC |
|---|---|
| From | marc-bennewitz at arcor dot de |
| Assigned | cweiske |
| Status | Closed |
| Package | HTML_BBCodeParser |
| PHP Version | 5.0.4 |
| OS | Linux |
| 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