HTML_BBCodeParser2::_parentNeeded
Checks to see if a parent is needed
Checks to see if the current $in tag has an appropriate parent. If it does, then it returns false. If a parent is needed, then it returns the first tag in the list to add to the stack.
- Author: Seth Price <seth@pricepages.org>
Signature
public function _parentNeeded(
$out,
$in )
Parameters
$out
—$in
—
Returns
- boolean
- false if not needed, tag if needed, true if out
of our minds