CI_Typography::format_characters()

format_characters($str) Parameters: $str (string) – Input string Returns: Formatted string Return type: string This method is similar to auto_typography() above, except that it only does character conversion: Quotes are converted to correctly facing curly quote entities, except those that appear within tags. Apostrophes are converted to curly apostrophe entities. Double dashes (either like – this or like–this) are converted to em—dashes. Three consecutive periods either preceding or

CI_Trackback::send()

send($tb_data) Parameters: $tb_data (array) – Trackback data Returns: TRUE on success, FALSE on failure Return type: bool Send trackback.

CI_Trackback::process()

process($url, $data) Parameters: $url (string) – Target url $data (string) – Raw POST data Returns: TRUE on success, FALSE on failure Return type: bool Opens a socket connection and passes the data to the server, returning TRUE on success and FALSE on failure.

CI_Trackback::send_error()

send_error([$message = 'Incomplete information']) Parameters: $message (string) – Error message Return type: void Responses to a trackback request with an error message. Note This method will terminate script execution.

CI_Trackback::receive()

receive() Returns: TRUE on success, FALSE on failure Return type: bool This method simply validates the incoming TB data, returning TRUE on success and FALSE on failure. If the data is valid it is set to the $this->data array so that it can be inserted into a database.

CI_Trackback::send_success()

send_success() Return type: void Responses to a trackback request with a success message. Note This method will terminate script execution.

CI_Trackback::limit_characters()

limit_characters($str[, $n = 500[, $end_char = '…']]) Parameters: $str (string) – Input string $n (int) – Max characters number $end_char (string) – Character to put at end of string Returns: Shortened string Return type: string Limits the string based on the character count. Will preserve complete words.

CI_Trackback::data()

data($item) Parameters: $item (string) – Data key Returns: Data value or empty string if not found Return type: string Returns a single item from the reponse data array.

CI_Trackback::get_id()

get_id($url) Parameters: $url (string) – Trackback URL Returns: URL ID or FALSE on failure Return type: string Find and return a trackback URL’s ID or FALSE on failure.

CI_Trackback::display_errors()

display_errors([$open = ' '[, $close = ' ']]) Parameters: $open (string) – Open tag $close (string) – Close tag Returns: HTML formatted error messages Return type: string Returns error messages formatted in HTML or an empty string if there are no errors.