[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/class/ -> MP_html2txt_.class.php (source)

   1  <?php
   2  abstract class MP_html2txt_
   3  {
   4      var $default_width = 50;
   5  
   6  	function get_tag_content( $tag, $modifiers = 'i' )
   7      {
   8          printf( '<![CDATA[/<%1$s[^>]*>(.*?)<\/%1$s>/%2$s]]>' , $tag, $modifiers );
   9      }
  10  
  11  	function format_text( $extra, $text, $format = ' %2$s [%1$s] ' )
  12      {
  13          $text = trim( $text );
  14          if ( empty( $text ) ) return '';
  15          return sprintf( $format, $extra, $text );
  16      }
  17  }


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1