CI_DB_query_builder::or_group_start()

or_group_start() Returns: CI_DB_query_builder instance (method chaining) Return type: CI_DB_query_builder Starts a group expression, using ORs for the conditions inside it.

CI_Output::set_profiler_sections()

set_profiler_sections($sections) Parameters: $sections (array) – Profiler sections Returns: CI_Output instance (method chaining) Return type: CI_Output Permits you to enable/disable specific sections of the Profiler when it is enabled. Please refer to the Profiler documentation for further information.

CI_Output::get_header()

get_header($header) Parameters: $header (string) – HTTP header name Returns: HTTP response header or NULL if not found Return type: mixed Returns the requested HTTP header value, or NULL if the requested header is not set. Example: $this->output->set_content_type('text/plain', 'UTF-8'); echo $this->output->get_header('content-type'); // Outputs: text/plain; charset=utf-8 Note The header name is compared in a case-insensitive manner. Note Raw headers sent via PHP’s na

CI_URI::rsegment_array()

rsegment_array() Returns: Routed URI segments array Return type: array This method is identical to segment_array(), except that it returns the array of segments in your re-routed URI in the event you are using CodeIgniter’s URI Routing feature.

form_textarea()

form_textarea([$data = ''[, $value = ''[, $extra = '']]]) Parameters: $data (array) – Field attributes data $value (string) – Field value $extra (mixed) – Extra attributes to be added to the tag either as an array or a literal string Returns: An HTML textarea tag Return type: string This function is identical in all respects to the form_input() function above except that it generates a “textarea” type. Note Instead of the maxlength and size attributes in the above example, you wi

Server Requirements

PHP version 5.6 or newer is recommended. It should work on 5.3.7 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features. A database is required for most web application programming. Currently supported databases are: MySQL (5.1+) via the mysql (deprecated), mysqli and pdo drivers Oracle via the oci8 and pdo drivers PostgreSQL via the postgre and pdo drivers MS SQL via the mssql, sqlsrv (version 2

CI_Email::cc()

cc($cc) Parameters: $cc (mixed) – Comma-delimited string or an array of e-mail addresses Returns: CI_Email instance (method chaining) Return type: CI_Email Sets the CC email address(s). Just like the “to”, can be a single e-mail, a comma-delimited list or an array.

CI_Email::to()

to($to) Parameters: $to (mixed) – Comma-delimited string or an array of e-mail addresses Returns: CI_Email instance (method chaining) Return type: CI_Email Sets the email address(s) of the recipient(s). Can be a single e-mail, a comma-delimited list or an array: $this->email->to('[email protected]'); $this->email->to('[email protected], [email protected], [email protected]'); $this->email->to( array('[email protected]', '[email protected]', '[email protec

mailto()

mailto($email, $title = '', $attributes = '') Parameters: $email (string) – E-mail address $title (string) – Anchor title $attributes (mixed) – HTML attributes Returns: A “mail to” hyperlink Return type: string Creates a standard HTML e-mail link. Usage example: echo mailto('[email protected]', 'Click Here to Contact Me'); As with the anchor() tab above, you can set attributes using the third parameter: $attributes = array('title' => 'Mail me'); echo mailto('[email protected]'

delete_cookie()

delete_cookie($name[, $domain = ''[, $path = '/'[, $prefix = '']]]) Parameters: $name (string) – Cookie name $domain (string) – Cookie domain (usually: .yourdomain.com) $path (string) – Cookie path $prefix (string) – Cookie name prefix Return type: void Lets you delete a cookie. Unless you’ve set a custom path or other values, only the name of the cookie is needed. delete_cookie('name'); This function is otherwise identical to set_cookie(), except that it does not have the value a