Class Auto_typography

Description

Auto Typography Class

Located in /functions/typography_functions.php (line 90)


	
			
Variable Summary
Method Summary
 void convert ( $str)
 void format_characters ( $str)
 void format_newlines ( $str)
Variables
mixed $block_elements = 'div|blockquote|pre|code|h\d|script|ol|ul' (line 93)
  • access: public
mixed $ignore_elements = 'a|b|i|em|strong|span|img|li' (line 99)
  • access: public
mixed $skip_elements = 'pre|ol|ul' (line 96)
  • access: public
Methods
convert (line 106)

Main Processing Function

void convert ( $str)
  • $str
format_characters (line 290)

Format Characters

This function mainly converts double and single quotes to entities, but since these are directional, it does it based on some rules. It also converts em-dashes and a couple other things.

void format_characters ( $str)
  • $str
format_newlines (line 521)

Format Newlines

Converts newline characters into either <p> tags or

void format_newlines ( $str)
  • $str

Documentation generated on Tue, 22 Nov 2011 13:29:01 -0200 by phpDocumentor 1.4.3