CI_Input::input_stream()

input_stream([$index = NULL[, $xss_clean = NULL]]) Parameters: $index (mixed) – Key name $xss_clean (bool) – Whether to apply XSS filtering Returns: Input stream array if no parameters supplied, otherwise the specified value if found or NULL if not Return type: mixed This method is identical to get(), post() and cookie(), only it fetches the php://input stream data.

CodeIgniter at a Glance

CodeIgniter is an Application Framework CodeIgniter is a toolkit for people who build web applications using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task. CodeIgniter is Fre

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.

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_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_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_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_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’.

CI_DB_driver::update_string()

update_string($table, $data, $where) Parameters: $table (string) – The target table $data (array) – An associative array of key/value pairs $where (mixed) – The WHERE statement conditions Returns: The SQL UPDATE statement, as a string Return type: string Generate an UPDATE statement string.