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::convert_xml()

convert_xml($str) Parameters: $str (string) – Input string Returns: Converted string Return type: string Converts reserved XML characters to entities.

CI_Trackback::extract_urls()

extract_urls($urls) Parameters: $urls (string) – Comma-separated URL list Returns: Array of URLs Return type: array This method lets multiple trackbacks to be sent. It takes a string of URLs (separated by comma or space) and puts each URL into an array.

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_Table::clear()

clear() Returns: CI_Table instance (method chaining) Return type: CI_Table Lets you clear the table heading and row data. If you need to show multiple tables with different data you should to call this method after each table has been generated to clear the previous table information. Example: $this->load->library('table'); $this->table->set_heading('Name', 'Color', 'Size'); $this->table->add_row('Fred', 'Blue', 'Small'); $this->table->add_row('Mary', 'Red', 'Large

CI_Table::set_empty()

set_empty($value) Parameters: $value (mixed) – Value to put in empty cells Returns: CI_Table instance (method chaining) Return type: CI_Table Lets you set a default value for use in any table cells that are empty. You might, for example, set a non-breaking space: $this->table->set_empty(" ");

CI_Table::generate()

generate([$table_data = NULL]) Parameters: $table_data (mixed) – Data to populate the table rows with Returns: HTML table Return type: string Returns a string containing the generated table. Accepts an optional parameter which can be an array or a database result object.

CI_Table::set_template()

set_template($template) Parameters: $template (array) – An associative array containing template values Returns: TRUE on success, FALSE on failure Return type: bool Permits you to set your template. You can submit a full or partial template. $template = array( 'table_open' => '<table border="1" cellpadding="2" cellspacing="1" class="mytable">' ); $this->table->set_template($template);

CI_Table::set_heading()

set_heading([$args = array()[, ...]]) Parameters: $args (mixed) – An array or multiple strings containing the table column titles Returns: CI_Table instance (method chaining) Return type: CI_Table Permits you to set the table heading. You can submit an array or discrete params: $this->table->set_heading('Name', 'Color', 'Size'); $this->table->set_heading(array('Name', 'Color', 'Size'));

CI_Table::set_caption()

set_caption($caption) Parameters: $caption (string) – Table caption Returns: CI_Table instance (method chaining) Return type: CI_Table Permits you to add a caption to the table. $this->table->set_caption('Colors');