index_page()

index_page() Returns: ‘index_page’ value Return type: mixed Returns your site index_page, as specified in your config file. Example: echo index_page();

CI_Zip

class CI_Zip $compression_level = 2 The compression level to use. It can range from 0 to 9, with 9 being the highest and 0 effectively disabling compression: $this->zip->compression_level = 0; add_data($filepath[, $data = NULL]) Parameters: $filepath (mixed) – A single file path or an array of file => data pairs $data (array) – File contents (ignored if $filepath is an array) Return type: void Adds data to the Zip archive. Can work both in single and multiple files m

CI_Calendar

class CI_Calendar initialize([$config = array()]) Parameters: $config (array) – Configuration parameters Returns: CI_Calendar instance (method chaining) Return type: CI_Calendar Initializes the Calendaring preferences. Accepts an associative array as input, containing display preferences. generate([$year = ''[, $month = ''[, $data = array()]]]) Parameters: $year (int) – Year $month (int) – Month $data (array) – Data to be shown in the calendar cells Returns: HTML-format

CI_Cart

class CI_Cart $product_id_rules = '.a-z0-9_-' These are the regular expression rules that we use to validate the product ID - alpha-numeric, dashes, underscores, or periods by default $product_name_rules = 'w -.:' These are the regular expression rules that we use to validate the product ID and product name - alpha-numeric, dashes, underscores, colons or periods by default $product_name_safe = TRUE Whether or not to only allow safe product names. Default TRUE. insert([$ite

CI_DB_query_builder::group_start()

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