CI_Calendar::parse_template()

parse_template() Returns: CI_Calendar instance (method chaining) Return type: CI_Calendar Harvests the data within the template {pseudo-variables} used to display the calendar.

CI_DB_result::row_array()

row_array([$n = 0]) Parameters: $n (int) – Index of the query results row to be returned Returns: The requested row or NULL if it doesn’t exist Return type: array Returns the requested result row as an associative array. Usage: see Result Rows.

timezone_menu()

timezone_menu([$default = 'UTC'[, $class = ''[, $name = 'timezones'[, $attributes = '']]]]) Parameters: $default (string) – Timezone $class (string) – Class name $name (string) – Menu name $attributes (mixed) – HTML attributes Returns: HTML drop down menu with time zones Return type: string Generates a pull-down menu of timezones, like this one: (UTC -12:00) Baker/Howland Island(UTC -11:00) Samoa Time Zone, Niue(UTC -10:00) Hawaii-Aleutian Standard Time, Cook Islands, Tahiti(UT

CI_DB_result

class CI_DB_result result([$type = 'object']) Parameters: $type (string) – Type of requested results - array, object, or class name Returns: Array containing the fetched rows Return type: array A wrapper for the result_array(), result_object() and custom_result_object() methods. Usage: see Result Arrays. result_array() Returns: Array containing the fetched rows Return type: array Returns the query results as an array of rows, where each row is itself an associative array. Usa

CI_Xmlrpc::initialize()

initialize([$config = array()]) Parameters: $config (array) – Configuration data Return type: void Initializes the XML-RPC library. Accepts an associative array containing your settings.

CI_Session::get_flash_keys()

get_flash_keys() Returns: Array containing the keys of all “flashdata” items. Return type: array Gets a list of all $_SESSION that have been marked as “flashdata”.

CI_Table

class CI_Table $function = NULL Allows you to specify a native PHP function or a valid function array object to be applied to all cell data. $this->load->library('table'); $this->table->set_heading('Name', 'Color', 'Size'); $this->table->add_row('Fred', '<strong>Blue</strong>', 'Small'); $this->table->function = 'htmlspecialchars'; echo $this->table->generate(); In the above example, all cell data would be ran through PHP’s htmlspecialchars() f

meta()

meta([$name = ''[, $content = ''[, $type = 'name'[, $newline = "n"]]]]) Parameters: $name (string) ? Meta name $content (string) ? Meta content $type (string) ? Meta type $newline (string) ? Newline character Returns: HTML meta tag Return type: string Helps you generate meta tags. You can pass strings to the function, or simple arrays, or multidimensional ones. Examples: echo meta('description', 'My Great site'); // Generates: <meta name="description" content="My Great Site"

CI_DB_driver::initialize()

initialize() Returns: TRUE on success, FALSE on failure Return type: bool Initialize database settings, establish a connection to the database.

CI_DB_driver

class CI_DB_driver initialize() Returns: TRUE on success, FALSE on failure Return type: bool Initialize database settings, establish a connection to the database. db_connect($persistent = TRUE) Parameters: $persistent (bool) – Whether to establish a persistent connection or a regular one Returns: Database connection resource/object or FALSE on failure Return type: mixed Establish a connection with the database. Note The returned value depends on the underlying driver in use.