Example #1
0
 public function getTags()
 {
     $parentTags = parent::getTags();
     if ($this->_allTags === null) {
         $this->_bakeAllTags($parentTags);
     }
     if ($this->_allTags !== null) {
         $this->_tags = $this->_allTags;
         return $this->_allTags;
     }
     return false;
 }
Example #2
0
 public function getTags()
 {
     //The below line is needed to prevent an error
     $this->_parentTags = parent::getTags();
     if ($this->_protectedTags === null) {
         $this->_bakeProtectedTags();
     }
     if ($this->_protectedTags !== null) {
         $this->_tags = $this->_protectedTags;
         return $this->_protectedTags;
     }
     return false;
 }
Example #3
0
 public function filterString($string, array $rendererStates)
 {
     if (empty($rendererStates['stopSmilies']) && $this->_smilieTranslate) {
         $translated = strtr($string, $this->_smilieTranslate);
         $this->_smilieTally += preg_match_all("#\\0(\\d+)\\0#", $translated, $null);
     }
     $this->_printableLength += $this->_getPrintableLength($string, $rendererStates);
     return parent::filterString($string, $rendererStates);
 }
Example #4
0
 public function renderTree(array $tree, array $extraStates = array())
 {
     $this->_subtractMediaTagsRemaining($tree);
     return parent::renderTree($tree, $extraStates);
 }