CI_Loader::clear_vars()

clear_vars() Returns: CI_Loader instance (method chaining) Return type: CI_Loader Clears cached view variables.

CI_DB_driver::close()

close() Return type: void Close the DB Connection.

CI_Migration::error_string()

error_string() Returns: Error messages Return type: string This returns a string of errors that were detected while performing a migration.

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_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_Config::slash_item()

slash_item($item) Parameters: $item (string) – config item name Returns: Config item value with a trailing forward slash or NULL if not found Return type: mixed This method is identical to item(), except it appends a forward slash to the end of the item, if it exists.

symbolic_permissions()

symbolic_permissions($perms) Parameters: $perms (int) – Permissions Returns: Symbolic permissions string Return type: string Takes numeric permissions (such as is returned by fileperms()) and returns standard symbolic notation of file permissions. echo symbolic_permissions(fileperms('./index.php')); // -rw-r--r--

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_Cart::total()

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

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.