CI_DB_query_builder::where()

where($key[, $value = NULL[, $escape = NULL]]) Parameters: $key (mixed) – Name of field to compare, or associative array $value (mixed) – If a single key, compared to this value $escape (bool) – Whether to escape values and identifiers Returns: DB_query_builder instance Return type: object Generates the WHERE portion of the query. Separates multiple calls with ‘AND’.

index_page()

index_page() Returns: ‘index_page’ value Return type: mixed Returns your site index_page, as specified in your config file. Example: echo index_page();

CI_User_agent::browser()

browser() Returns: Detected browser or an empty string Return type: string Returns a string containing the name of the web browser viewing your site.

CI_DB_result::set_row()

set_row($key[, $value = NULL]) Parameters: $key (mixed) – Column name or array of key/value pairs $value (mixed) – Value to assign to the column, $key is a single field name Return type: void Assigns a value to a particular column.

CI_DB_query_builder::get_compiled_delete()

get_compiled_delete([$table = ''[, $reset = TRUE]]) Parameters: $table (string) – Table name $reset (bool) – Whether to reset the current QB values or not Returns: The compiled SQL statement as a string Return type: string Compiles a DELETE statement and returns it as a string.

CI_Trackback

class CI_Trackback $data = array('url' => '', 'title' => '', 'excerpt' => '', 'blog_name' => '', 'charset' => '') Trackback data array. $convert_ascii = TRUE Whether to convert high ASCII and MS Word characters to HTML entities. send($tb_data) Parameters: $tb_data (array) – Trackback data Returns: TRUE on success, FALSE on failure Return type: bool Send trackback. receive() Returns: TRUE on success, FALSE on failure Return type: bool This method sim

CI_Input::post_get()

post_get($index[, $xss_clean = NULL]) Parameters: $index (string) – POST/GET parameter name $xss_clean (bool) – Whether to apply XSS filtering Returns: POST/GET value if found, NULL if not Return type: mixed This method works pretty much the same way as post() and get(), only combined. It will search through both POST and GET streams for data, looking in POST first, and then in GET: $this->input->post_get('some_data', TRUE);

CI_DB_result::unbuffered_row()

unbuffered_row([$type = 'object']) Parameters: $type (string) – Type of the requested result - array, object, or class name Returns: Next row from the result set or NULL if it doesn’t exist Return type: mixed Fetches the next result row and returns it in the requested form. Usage: see Result Rows.

CI_Session

class CI_Session userdata([$key = NULL]) Parameters: $key (mixed) – Session item key or NULL Returns: Value of the specified item key, or an array of all userdata Return type: mixed Gets the value for a specific $_SESSION item, or an array of all “userdata” items if not key was specified. Note This is a legacy method kept only for backwards compatibility with older applications. You should directly access $_SESSION instead. all_userdata() Returns: An array of all userdata R

CI_Config::site_url()

site_url() Returns: Site URL Return type: string This method retrieves the URL to your site, along with the “index” value you’ve specified in the config file. This method is normally accessed via the corresponding functions in the URL Helper.