Exemplo n.º 1
0
 protected function _setupCustomTagInfo($tagName, array $tag)
 {
     $output = parent::_setupCustomTagInfo($tagName, $tag);
     if (isset($output['replace']) && strlen($tag['replace_html_email'])) {
         $output['replace'] = $tag['replace_html_email'];
     }
     return $output;
 }
Exemplo n.º 2
0
 protected function _setupCustomTagInfo($tagName, array $tag)
 {
     $output = parent::_setupCustomTagInfo($tagName, $tag);
     if (isset($output['replace'])) {
         if (strlen($tag['replace_text'])) {
             $output['replace'] = $tag['replace_text'];
         } else {
             $output['replace'] = '{text}' . ($tag['trim_lines_after'] ? "\n" : '');
         }
     }
     return $output;
 }
Exemplo n.º 3
0
 protected function _setupCustomTagInfo($tagName, array $tag)
 {
     $tag = parent::_setupCustomTagInfo($tagName, $tag);
     return $this->_filterTagDefinition($tagName, $tag);
 }