CI_Email::bcc()

bcc($bcc[, $limit = '']) Parameters: $bcc (mixed) – Comma-delimited string or an array of e-mail addresses $limit (int) – Maximum number of e-mails to send per batch Returns: CI_Email instance (method chaining) Return type: CI_Email Sets the BCC email address(s). Just like the to() method, can be a single e-mail, a comma-delimited list or an array. If $limit is set, “batch mode” will be enabled, which will send the emails to batches, with each batch not exceeding the specified $lim

CI_DB_query_builder::from()

from($from) Parameters: $from (mixed) – Table name(s); string or array Returns: CI_DB_query_builder instance (method chaining) Return type: CI_DB_query_builder Specifies the FROM clause of a query.

ol()

ol($list, $attributes = '') Parameters: $list (array) – List entries $attributes (array) – HTML attributes Returns: HTML-formatted ordered list Return type: string Identical to ul(), only it produces the <ol> tag for ordered lists instead of <ul>.

CI_Session::set_userdata()

set_userdata($data[, $value = NULL]) Parameters: $data (mixed) – An array of key/value pairs to set as session data, or the key for a single item $value (mixed) – The value to set for a specific session item, if $data is a key Return type: void Assigns data to the $_SESSION superglobal. Note This is a legacy method kept only for backwards compatibility with older applications.

CI_Zip::add_dir()

add_dir($directory) Parameters: $directory (mixed) – Directory name string or an array of multiple directories Return type: void Permits you to add a directory. Usually this method is unnecessary since you can place your data into directories when using $this->zip->add_data(), but if you would like to create an empty directory you can do so: $this->zip->add_dir('myfolder'); // Creates a directory called "myfolder"

CI_DB_driver::protect_identifiers()

protect_identifiers($item[, $prefix_single = FALSE[, $protect_identifiers = NULL[, $field_exists = TRUE]]]) Parameters: $item (string) – The item to work with $prefix_single (bool) – Whether to apply the dbprefix even if the input item is a single identifier $protect_identifiers (bool) – Whether to quote identifiers $field_exists (bool) – Whether the supplied item contains a field name or not Returns: The modified item Return type: string Takes a column or table name (optionally

CI_FTP::rename()

rename($old_file, $new_file[, $move = FALSE]) Parameters: $old_file (string) – Old file name $new_file (string) – New file name $move (bool) – Whether a move is being performed Returns: TRUE on success, FALSE on failure Return type: bool Permits you to rename a file. Supply the source file name/path and the new file name/path. // Renames green.html to blue.html $this->ftp->rename('/public_html/foo/green.html', '/public_html/foo/blue.html');

CI_Zip::clear_data()

clear_data() Return type: void The Zip class caches your zip data so that it doesn’t need to recompile the Zip archive for each method you use above. If, however, you need to create multiple Zip archives, each with different data, you can clear the cache between calls. Example: $name = 'my_bio.txt'; $data = 'I was born in an elevator...'; $this->zip->add_data($name, $data); $zip_file = $this->zip->get_zip(); $this->zip->clear_data(); $name = 'photo.jpg'; $this->zip-

CI_Xmlrpc::method()

method($function) Parameters: $function (string) – Method name Return type: void Sets the method that will be requested from the XML-RPC server: $this->xmlrpc->method('method'); Where method is the name of the method.

CI_Loader::config()

config($file[, $use_sections = FALSE[, $fail_gracefully = FALSE]]) Parameters: $file (string) – Configuration file name $use_sections (bool) – Whether configuration values should be loaded into their own section $fail_gracefully (bool) – Whether to just return FALSE in case of failure Returns: TRUE on success, FALSE on failure Return type: bool This method is an alias of the config file loading method: $this->config->load()