示例#1
0
 protected function element(array $Element)
 {
     if (isset($this->tagCallback)) {
         if (is_array($Element)) {
             if (is_string($Element['name'])) {
                 $strf = $this->tagCallback;
                 $result = $strf($Element);
                 if ($result === false) {
                     //Remove tag.
                 }
             }
         }
     }
     //Return result using modified values.
     return parent::element($Element);
 }