From f4fb1db458fab52d0493ead52c9ea7e01206eaa7 Mon Sep 17 00:00:00 2001 From: Joël Cox Date: Sun, 9 Oct 2011 18:39:39 +0200 Subject: Moved tutorial to new user guide directory. --- user_guide/helpers/typography_helper.html | 112 ------------------------------ 1 file changed, 112 deletions(-) delete mode 100644 user_guide/helpers/typography_helper.html (limited to 'user_guide/helpers/typography_helper.html') diff --git a/user_guide/helpers/typography_helper.html b/user_guide/helpers/typography_helper.html deleted file mode 100644 index e7bd473a9..000000000 --- a/user_guide/helpers/typography_helper.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - -Typography Helper : CodeIgniter User Guide - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

CodeIgniter User Guide Version 2.0.3

-
- - - - - - - - - -
- - -
- - - -
- - -

Typography Helper

- -

The Typography Helper file contains functions that help your format text in semantically relevant ways.

- - -

Loading this Helper

- -

This helper is loaded using the following code:

-$this->load->helper('typography'); - -

The following functions are available:

- - -

auto_typography()

- -

Formats text so that it is semantically and typographically correct HTML. Please see the Typography Class for more info.

- -

Usage example:

- -$string = auto_typography($string); - -

Note: Typographic formatting can be processor intensive, particularly if you have a lot of content being formatted. -If you choose to use this function you may want to consider -caching your pages.

- - -

nl2br_except_pre()

- -

Converts newlines to <br /> tags unless they appear within <pre> tags. -This function is identical to the native PHP nl2br() function, except that it ignores <pre> tags.

- -

Usage example:

- -$string = nl2br_except_pre($string); - - - -
- - - - - - - \ No newline at end of file -- cgit v1.2.3-24-g4f1b