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

password_verify()

password_verify($password, $hash) Parameters: $password (string) – Plain-text password $hash (string) – Password hash Returns: TRUE if the password matches the hash, FALSE if not Return type: bool For more information, please refer to the PHP manual for password_verify().

form_hidden()

form_hidden($name[, $value = '']) Parameters: $name (string) – Field name $value (string) – Field value Returns: An HTML hidden input field tag Return type: string Lets you generate hidden input fields. You can either submit a name/value string to create one field: form_hidden('username', 'johndoe'); // Would produce: <input type="hidden" name="username" value="johndoe" /> ... or you can submit an associative array to create multiple fields: $data = array( 'name' =&

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.

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_driver::simple_query()

simple_query($sql) Parameters: $sql (string) – The SQL statement to execute Returns: Whatever the underlying driver’s “query” function returns Return type: mixed A simplified version of the query() method, appropriate for use when you don’t need to get a result object or to just send a query to the database and not care for the result.

CI_DB_result::first_row()

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

CI_DB_utility::database_exists()

database_exists($database_name) Parameters: $database_name (string) – Database name Returns: TRUE if the database exists, FALSE otherwise Return type: bool Check for the existence of a database.

form_close()

form_close([$extra = '']) Parameters: $extra (string) – Anything to append after the closing tag, as is Returns: An HTML form closing tag Return type: string Produces a closing </form> tag. The only advantage to using this function is it permits you to pass data to it which will be added below the tag. For example: $string = '</div></div>'; echo form_close($string); // Would produce: </form> </div></div>

force_download()

force_download([$filename = ''[, $data = ''[, $set_mime = FALSE]]]) Parameters: $filename (string) – Filename $data (mixed) – File contents $set_mime (bool) – Whether to try to send the actual MIME type Return type: void Generates server headers which force data to be downloaded to your desktop. Useful with file downloads. The first parameter is the name you want the downloaded file to be named, the second parameter is the file data. If you set the second parameter to NULL and $file