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;
 }