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; }
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; }
protected function _setupCustomTagInfo($tagName, array $tag) { $tag = parent::_setupCustomTagInfo($tagName, $tag); return $this->_filterTagDefinition($tagName, $tag); }