protected function parseText(dom\text $node, $bTrim = true) { if (!$this->allowText()) { $this->throwException('Text node not allowed here', array($node->asToken())); } return $bTrim ? $this->trimString($node->getValue()) : $node->getValue(); }
protected function parseChildrenText(dom\text $node, array &$aResult) { $aResult[] = $node->getValue(); }
protected function parseText(dom\text $node, $bTrim = true) { $this->throwException('Mixed element (element and text) or multiple text node not allowed here', array($node->getParent()->asToken())); }