CI_DB_driver::cache_delete()

cache_delete([$segment_one = ''[, $segment_two = '']]) Parameters: $segment_one (string) – First URI segment $segment_two (string) – Second URI segment Returns: TRUE on success, FALSE on failure Return type: bool Delete the cache files associated with a particular URI.

read_file()

read_file($file) Parameters: $file (string) – File path Returns: File contents or FALSE on failure Return type: string Returns the data contained in the file specified in the path. Example: $string = read_file('./path/to/file.php'); The path can be a relative or full server path. Returns FALSE (boolean) on failure. Note The path is relative to your main site index.php file, NOT your controller or view files. CodeIgniter uses a front controller so paths are always relative to the m

CI_DB_result::field_data()

field_data() Returns: Array containing field meta-data Return type: array Generates an array of stdClass objects containing field meta-data.

CI_DB_query_builder::offset()

offset($offset) Parameters: $offset (int) – Number of rows to skip Returns: CI_DB_query_builder instance (method chaining) Return type: CI_DB_query_builder Adds an OFFSET clause to a query.

CI_Email::attach()

attach($filename[, $disposition = ''[, $newname = NULL[, $mime = '']]]) Parameters: $filename (string) – File name $disposition (string) – ‘disposition’ of the attachment. Most email clients make their own decision regardless of the MIME specification used here. https://www.iana.org/assignments/cont-disp/cont-disp.xhtml $newname (string) – Custom file name to use in the e-mail $mime (string) – MIME type to use (useful for buffered data) Returns: CI_Email instance (method chaining) R

CI_Cart::total()

total() Returns: Total amount Return type: int Displays the total amount in the cart.

CI_Trackback::send()

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

mb_strlen()

mb_strlen($str[, $encoding = NULL]) Parameters: $str (string) – Input string $encoding (string) – Character set Returns: Number of characters in the input string or FALSE on failure Return type: string For more information, please refer to the PHP manual for mb_strlen().

CI_DB_result::previous_row()

previous_row([$type = 'object']) Parameters: $type (string) – Type of the requested result - array, object, or class name Returns: Previous row of result set, or NULL if it doesn’t exist Return type: mixed Returns the previous row from the result set.

CI_DB_query_builder::select()

select([$select = '*'[, $escape = NULL]]) Parameters: $select (string) – The SELECT portion of a query $escape (bool) – Whether to escape values and identifiers Returns: CI_DB_query_builder instance (method chaining) Return type: CI_DB_query_builder Adds a SELECT clause to a query.