チェンジセット 2

差分発生行の前後
無視リスト:
更新日時:
2010/03/19 11:58:51 (1 時間弱 前)
更新者:
kenji
ログメッセージ:

Load user_guide into user_guide.

ファイル:
10 追加
2 削除
125 変更

凡例:

変更なし
追加
削除
  • TabularUnified changelog.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="./toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    5858<h1>Change Log</h1> 
    5959 
    60 <h2>Version 1.7.3</h2> 
     60<h2>Version 2.0.0</h2> 
    6161<p>Release Date: not yet released<br /> 
    62 SVN Revision: </p> 
     62Hg Tag: </p> 
     63 
     64<ul> 
     65        <li>General changes 
     66                <ul> 
     67                        <li>PHP 4 support is deprecated.  Features new to 2.0.0 may not support PHP 4, and all legacy features will no longer support PHP 4 as of 2.1.0.</li> 
     68                        <li>Scaffolding, having been deprecated for a number of versions, has been removed.</li> 
     69                        <li>Plugins have been removed, in favor of Helpers.  The CAPTCHA plugin has been converted to a Helper and <a href="./helpers/captcha_helper.html">documented</a>.  The JavaScript calendar plugin was removed due to the ready availability of great JavaScript calendars, particularly with jQuery.</li> 
     70                        <li>Added new special Library type: <a href="./general/drivers.html">Drivers</a>.</li> 
     71                        <li>Added routing overrides to the main index.php file, enabling the normal routing to be overridden on a per "index" file basis.</li> 
     72                        <li>Added the ability to set config values (or override config values) directly from data set in the main index.php file.  This allows a single application to be used with multiple front controllers, each having its own config values.</li> 
     73                        <li>Added <kbd>$config['directory_trigger']</kbd> to the config file so that a controller sub-directory can be specified when running _GET strings instead of URI segments.</li> 
     74                        <li>Added ability to set "Package" paths - specific paths where the Loader and Config classes should try to look first for a requested file.  This allows distribution of sub-applications with their own libraries, models, config files, etc. in a single "package" directory.  See the <a href="libraries/loader.html">Loader class</a> documentation for more details.</li> 
     75                        <li>In-development code is now hosted at <a href="http://bitbucket.org/ellislab/codeigniter/">BitBucket</a>.</li> 
     76                </ul> 
     77        <li>Libraries 
     78                <ul> 
     79                        <li>Added <a href="./libraries/security.html">Security library</a>, which now contains the <dfn>xss_clean</dfn> function, <dfn>filename_security</dfn> function and other security related functions.</li> 
     80                        <li>Added CSRF (Cross-site Reference Forgery) protection to the <a href="./libraries/security.html">Security library</a>.</li> 
     81                        <li>Added <var>$parse_exec_vars</var> property to Output library.</li> 
     82                        <li>Added ability to enable / disable individual sections of the <a href="general/profiling.html">Profiler</a></li> 
     83                        <li>Added a wildcard option <kbd>$config['allowed_types'] = '*'</kbd> to the <a href="./libraries/file_uploading.html">File Uploading Class</a>.</li> 
     84                        <li>Added an 'object' config variable to the XML-RPC Server library so that one can specify the object to look for requested methods, instead of assuming it is in the $CI superobject.</li> 
     85                        <li>Added "is_object" into the list of unit tests capable of being run.</li> 
     86                        <li>Table library will generate an empty cell with a blank string, or NULL value.</li> 
     87                        <li>Added ability to set tag attributes for individual cells in the Table library</li> 
     88                        <li>Added a <kbd>parse_string()</kbd> method to the <a href="libraries/parser.html">Parser Class</a>.</li> 
     89                        <li>Added HTTP headers and Config information to the <a href="general/profiling.html">Profiler</a> output.</li> 
     90                        <li>Added Chrome and Flock to the list of detectable browsers by <kbd>browser()</kbd> in the <a href="libraries/user_agent.html">User Agent Class</a>.</li> 
     91                        <li>The <a href="libraries/unit_testing.html">Unit Test Class</a> now has an optional "notes" field available to it, and allows for discrete display of test result items using <kbd>$this->unit->set_test_items()</kbd>.</li> 
     92                        <li>Added a <kbd>$xss_clean</kbd> class variable to the XMLRPC library, enabling control over the use of the Security library's <kbd>xss_clean()</kbd> method.</li>                      
     93                </ul> 
     94        </li> 
     95        <li>Database 
     96                <ul> 
     97                        <li>Added <kbd>swap_pre</kbd> value to <a href="./database/configuration.html">database configuration</a>.</li> 
     98                        <li>Added <kbd>autoinit</kbd> value to <a href="./database/configuration.html">database configuration</a>.</li> 
     99                        <li>Added <kbd>stricton</kbd> value to <a href="./database/configuration.html">database configuration</a>.</li> 
     100                        <li>Added <kbd>database_exists()</kbd> to the <a href="database/utilities.html">Database Utilities Class</a>.</li> 
     101                        <li>Semantic change to db->version() function to allow a list of exceptions for databases with functions to return version string instead of specially formed SQL queries. Currently this list only includes Oracle and SQLite.</li> 
     102                        <li>Fixed a bug where driver specific table identifier protection could lead to malformed queries in the <kbd>field_data()</kbd> functions.</li> 
     103                        <li>Fixed a bug where an undefined class variable was referenced in database drivers.</li> 
     104                </ul> 
     105        </li> 
     106        <li>Helpers 
     107                <ul> 
     108                        <li>Added <kbd>convert_accented_characters()</kbd> function to  <a href="./helpers/text_helper.html">text helper</a>.</li> 
     109                        <li>Added accept-charset to the list of inserted attributes of <kbd>form_open()</kbd> in the <a href="helpers/form_helper.html">Form Helper</a>.</li> 
     110                        <li>Deprecated the <kbd>dohash()</kbd> function in favour of <kbd>do_hash()</kbd> for naming consistency.</li> 
     111                        <li>Non-backwards compatible change made to <kbd>get_dir_file_info()</kbd> in the <a href="helpers/file_helper.html">File Helper</a>.  No longer recurses 
     112                                by default so as to encourage responsible use (this function can cause server performance issues when used without caution).</li> 
     113                        <li>Modified the second parameter of <kbd>directory_map()</kbd> in the <a href="helpers/directory_helper.html">Directory Helper</a> to accept an integer to specify recursion depth.</li> 
     114                        <li>Modified <kbd>delete_files()</kbd> in the <a href="helpers/file_helper.html">File Helper</a> to return FALSE on failure.</li>  
     115                        <li>Added an optional second parameter to <kbd>byte_format()</kbd> in the <a href="helpers/number_helper.html">Number Helper</a> to allow for decimal precision.</li> 
     116                        <li>Added alpha, and sha1 string types to <kbd>random_string()</kbd> in the <a href="helpers/string_helper.html">String Helper</a>.</li> 
     117                </ul> 
     118        </li> 
     119        <li>Other Changes 
     120                <ul> 
     121                        <li>Updated loader to automatically apply the sub-class prefix as an option when loading classes.  Class names can be prefixed with the standard "CI_" or the same prefix as the subclass prefix, or no prefix at all.</li> 
     122                        <li>Increased randomness with <kbd>is_really_writable()</kbd> to avoid file collisions when hundreds or thousands of requests occur at once.</li> 
     123                        <li>Switched some DIR_WRITE_MODE constant uses to FILE_WRITE_MODE where files and not directories are being operated on.</li> 
     124                        <li><kbd>get_mime_by_extension()</kbd> is now case insensitive.</li> 
     125                        <li>Added "default" to the list <a href="general/reserved_names.html">Reserved Names</a>.</li> 
     126                        <li>Added 'application/x-msdownload' for .exe files and ''application/x-gzip-compressed' for .tgz files to config/mimes.php.</li> 
     127                        <li>Documented <kbd>append_output()</kbd> in the <a href="libraries/output.html">Output Class</a>.</li> 
     128                        <li>Documented a second argument in the <kbd>decode()</kbd> function for the <a href="libraries/encryption.html">Encryption Class</a>.</li> 
     129                        <li>Documentd db->close().</li> 
     130                </ul> 
     131        </li> 
     132</ul> 
     133 
     134<h3>Bug fixes for 2.0.0</h3> 
     135<ul> 
     136        <li>Fixed a bug where a failed query would not have a saved query execution time causing errors in the Profiler</li> 
     137        <li>Fixed a bug that was writing log entries when multiple identical helpers and plugins were loaded.</li> 
     138        <li>Fixed assorted user guide typos or examples (#10693, #8951, #7825, #8660, #7883, #6771, #10656).</li> 
     139        <li>Fixed a language key in the profiler: "profiler_no_memory_usage" to "profiler_no_memory".</li> 
     140        <li>Fixed an error in the Zip library that didn't allow downloading on PHP 4 servers.</li> 
     141        <li>Fixed a bug in the Form Validation library where fields passed as rule parameters were not being translated (#9132)</li> 
     142        <li>Modified inflector helper to properly pluralize words that end in 'ch' or 'sh'</li> 
     143        <li>Fixed a bug in xss_clean() that was not allowing hyphens in query strings of submitted URLs.</li> 
     144        <li>Fixed bugs in get_dir_file_info() and get_file_info() in the File Helper with recursion, and file paths on Windows.</li> 
     145        <li>Fixed a bug where Active Record override parameter would not let you disable Active Record if it was enabled in your database config file.</li> 
     146        <li>Fixed a bug in reduce_double_slashes() in the String Helper to properly remove duplicate leading slashes (#7585)</li> 
     147        <li>Fixed a bug in values_parsing() of the XML-RPC library which prevented NULL variables typed as 'string' from being handled properly.</li> 
     148        <li>Fixed a bug were form_open_multipart() didn't accept string attribute arguments (#10930).</li> 
     149        <li>Fixed a bug (#10470) where <kdb>get_mime_by_extension()</kbd> was case sensitive.</li> 
     150        <li>Fixed a bug where some error messages for the SQLite and Oracle drivers would not display.</li> 
     151</ul> 
    63152 
    64153<h2>Version 1.7.2</h2> 
    65154<p>Release Date: September 11, 2009<br /> 
    66 SVN Revision: 1737</p> 
     155Hg Tag: v1.7.2</p> 
    67156 
    68157<ul> 
     
    131220<h2>Version 1.7.1</h2> 
    132221<p>Release Date: February 10, 2009<br /> 
    133 SVN Revision: 1640</p> 
     222Hg Tag: 1.7.1</p> 
    134223 
    135224<ul> 
     
    215304<h2>Version 1.7</h2> 
    216305<p>Release Date: October 23, 2008<br /> 
    217 SVN Revision: 1541</p> 
     306Hg Tag: 1.7.0</p> 
    218307 
    219308<ul> 
     
    307396<h2>Version 1.6.3</h2> 
    308397<p>Release Date: June 26, 2008<br /> 
    309 SVN Revision: 1238</p> 
     398Hg Tag: v1.6.3</p> 
     399 
    310400<p>Version 1.6.3 is a security and maintenance release and is recommended for all users.</p> 
    311401<ul> 
     
    366456<h2>Version 1.6.2</h2> 
    367457<p>Release Date: May 13, 2008<br /> 
    368 SVN Revision: 1155</p> 
     458Hg Tag: 1.6.2</p> 
    369459<ul> 
    370460        <li>Active Record 
     
    469559<h2>Version 1.6.1</h2> 
    470560<p>Release Date: February 12, 2008<br /> 
    471         SVN Revision: 984</p> 
     561Hg Tag: 1.6.1</p> 
    472562<ul> 
    473563        <li>Active Record  
     
    10741164Next Topic:&nbsp;&nbsp;<a href="./general/credits.html">Credits</a> 
    10751165</p> 
    1076 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     1166<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    10771167</div> 
    10781168 
    
          
  • TabularUnified database/active_record.html

    r1 r2  
    2828<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    2929<tr> 
    30 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     30<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3131<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3232</tr> 
     
    199199<p>Multiple function calls can be made if you need several joins in one query.</p> 
    200200 
    201 <p>If you need something other than a natural JOIN you can specify it via the third parameter of the function. 
     201<p>If you need a specific type of JOIN you can specify it via the third parameter of the function. 
    202202Options are: left, right, outer, inner, left outer, and right outer.</p> 
    203203 
     
    751751Next Topic:&nbsp;&nbsp;<a href="transactions.html">Transactions</a> 
    752752</p> 
    753 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     753<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    754754</div> 
    755755 
    
          
  • TabularUnified database/caching.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    214214Next Topic:&nbsp;&nbsp;<a href="forge.html">Database manipulation with Database Forge</a> 
    215215</p> 
    216 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     216<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    217217</div> 
    218218 
    
          
  • TabularUnified database/call_function.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    112112Next Topic:&nbsp;&nbsp;<a href="caching.html">Query Caching</a> 
    113113</p> 
    114 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     114<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    115115</div> 
    116116 
    
          
  • TabularUnified database/configuration.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7979$db['default']['cachedir'] =  &quot;&quot;;<br /> 
    8080$db['default']['char_set'] = "utf8";<br /> 
    81 $db['default']['dbcollat'] = "utf8_general_ci";</code> 
     81$db['default']['dbcollat'] = "utf8_general_ci";<br /> 
     82$db['default']['swap_pre'] = "";<br /> 
     83$db['default']['autoinit'] = TRUE;<br /> 
     84$db['default']['stricton'] = FALSE;</code> 
    8285 
    8386<p>The reason we use a multi-dimensional array rather than a more simple one is to permit you to optionally store 
     
    97100$db['test']['cachedir'] =  &quot;&quot;;<br /> 
    98101$db['test']['char_set'] = "utf8";<br /> 
    99 $db['test']['dbcollat'] = "utf8_general_ci";</code> 
     102$db['test']['dbcollat'] = "utf8_general_ci";<br /> 
     103$db['test']['swap_pre'] = "";<br /> 
     104$db['test']['autoinit'] = TRUE;<br /> 
     105$db['test']['stricton'] = FALSE;</code> 
    100106 
    101107 
     
    130136<li><strong>char_set</strong> - The character set used in communicating with the database.</li> 
    131137<li><strong>dbcollat</strong> - The character collation used in communicating with the database.</li> 
    132 <li><strong>port</strong> - The database port number.  Currently only used with the Postgres driver. To use this value you have to add a line to the database config array.<code>$db['default']['port'] =  5432;</code></li> 
     138<li><strong>swap_pre</strong> - A default table prefix that should be swapped with <var>dbprefix</var>.  This is useful for distributed applications where you might run manually written queries, and need the prefix to still be customizable by the end user.</li> 
     139<li><strong>autoinit</strong> - Whether or not to automatically initialize the database.</li> 
     140<li><strong>stricton</strong> - TRUE/FALSE (boolean) - Whether to force "Strict Mode" connections, good for ensuring strict SQL while developing an application.</li> 
     141<li><strong>port</strong> - The database port number.  Currently only used with the Postgres driver. To use this value you have to add a line to the database config array.<code>$db['default']['port'] =  5432;</code> 
    133142</ul> 
    134143 
     
    151160Next Topic:&nbsp;&nbsp;<a href="connecting.html">Connecting to your Database</a> 
    152161</p> 
    153 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     162<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    154163</div> 
    155164 
    
          
  • TabularUnified database/connecting.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    165165<code>$this->db->reconnect();</code> 
    166166 
     167<h2>Manually closing the Connection</h2> 
    167168 
    168          
     169<p>While CodeIgniter intelligently takes care of closing your database connections, you can explicitly close the connection.</p> 
    169170 
     171<code>$this->db->close();</code> 
    170172</div> 
    171173<!-- END CONTENT --> 
     
    180182Next Topic:&nbsp;&nbsp;<a href="queries.html">Queries</a> 
    181183</p> 
    182 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     184<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    183185</div> 
    184186 
    
          
  • TabularUnified database/examples.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    211211Next Topic:&nbsp;&nbsp;<a href="configuration.html">Database Configuration</a> 
    212212</p> 
    213 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     213<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    214214</div> 
    215215 
    
          
  • TabularUnified database/fields.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    157157Next Topic:&nbsp;&nbsp;<a href="call_function.html">Custom Function Calls</a> 
    158158</p> 
    159 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     159<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    160160</div> 
    161161 
    
          
  • TabularUnified database/forge.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    228228<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    229229Next Topic:&nbsp;&nbsp;<a href="utilities.html">Database Utilities Class</a><a href="../libraries/email.html"></a></p> 
    230 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     230<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    231231</div> 
    232232 
    
          
  • TabularUnified database/helpers.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    145145Next Topic:&nbsp;&nbsp;<a href="active_record.html">Active Record Pattern</a> 
    146146</p> 
    147 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     147<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    148148</div> 
    149149 
    
          
  • TabularUnified database/index.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9393Next Topic:&nbsp;&nbsp;<a href="examples.html">Quick Start: Usage Examples</a> 
    9494</p> 
    95 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     95<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9696</div> 
    9797 
    
          
  • TabularUnified database/queries.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    147147Next Topic:&nbsp;&nbsp;<a href="results.html">Query Results</a> 
    148148</p> 
    149 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     149<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    150150</div> 
    151151 
    
          
  • TabularUnified database/results.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    232232Next Topic:&nbsp;&nbsp;<a href="helpers.html">Query Helper Functions</a> 
    233233</p> 
    234 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     234<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    235235</div> 
    236236 
    
          
  • TabularUnified database/table_data.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    107107Next Topic:&nbsp;&nbsp;<a href="fields.html"> Field Metadata</a> 
    108108</p> 
    109 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     109<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    110110</div> 
    111111 
    
          
  • TabularUnified database/transactions.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    194194Next Topic:&nbsp;&nbsp;<a href="table_data.html">Table Metadata</a> 
    195195</p> 
    196 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     196<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    197197</div> 
    198198 
    
          
  • TabularUnified database/utilities.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    6767<li><a href="#init">Initializing the Utility Class</a></li> 
    6868<li><a href="#list">Listing your Databases</a></li> 
     69<li><a href="#exists">Checking for a specific Database</a></li> 
    6970<li><a href="#opttb">Optimizing your Tables</a></li> 
    7071<li><a href="#repair">Repairing your Databases</a></li> 
     
    100101&nbsp;&nbsp;&nbsp; echo $db;<br /> 
    101102}</code> 
     103 
     104 
     105<h2><a name="exists"></a>$this->db->database_exists();</h2> 
     106 
     107<p>Sometimes it's helpful to know whether a particular database exists. 
     108Returns a boolean TRUE/FALSE.  Usage example:</p> 
     109 
     110<code> 
     111if ($this->db->database_exists('database_name'))<br /> 
     112{<br /> 
     113&nbsp;&nbsp; // some code...<br /> 
     114} 
     115</code> 
     116 
     117<p>Note:  Replace <em>database_name</em> with the name of the table you are looking for. This function is case sensitive.</p> 
     118 
     119 
     120 
    102121<h2><a name="opttb"></a>$this->dbutil->optimize_table('table_name');</h2> 
    103122 
     
    289308<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    290309Next Topic:&nbsp;&nbsp;<a href="../libraries/email.html"> Email Class</a></p> 
    291 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     310<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    292311</div> 
    293312 
    
          
  • TabularUnified doc_style/index.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8080<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    8181</p> 
    82 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     82<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    8383</div> 
    8484 
    
          
  • TabularUnified doc_style/template.html

    r1 r2  
    122122Next Topic:&nbsp;&nbsp;<a href="#">Next Class</a> 
    123123</p> 
    124 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     124<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    125125</div> 
    126126 
    
          
  • TabularUnified general/alternative_php.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    141141Next Topic:&nbsp;&nbsp;<a href="security.html">Security</a> 
    142142</p> 
    143 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     143<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    144144</div> 
    145145 
    
          
  • TabularUnified general/ancillary_classes.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    111111Next Topic:&nbsp;&nbsp;<a href="autoloader.html">Auto-loading Resources</a> 
    112112</p> 
    113 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     113<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    114114</div> 
    115115 
    
          
  • TabularUnified general/autoloader.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    5858<h1>Auto-loading Resources</h1> 
    5959 
    60 <p>CodeIgniter comes with an "Auto-load" feature that permits libraries, helpers, and plugins to be initialized 
     60<p>CodeIgniter comes with an "Auto-load" feature that permits libraries, helpers, and models to be initialized 
    6161automatically every time the system runs. If you need certain resources globally throughout your application you should 
    6262consider auto-loading them for convenience.</p> 
     
    6767<li>Core classes found in the "libraries" folder</li> 
    6868<li>Helper files found in the "helpers" folder</li> 
    69 <li>Plugins found in the "plugins" folder</li> 
    7069<li>Custom config files found in the "config" folder</li> 
    7170<li>Language files found in the "system/language" folder </li> 
     
    9594<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    9695Next Topic:&nbsp;&nbsp;<a href="common_functions.html">Common Functions</a></p> 
    97 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     96<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9897</div> 
    9998 
    
          
  • TabularUnified general/caching.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    109109Next Topic:&nbsp;&nbsp;<a href="profiling.html">Profiling Your Application</a> 
    110110</p> 
    111 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     111<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    112112</div> 
    113113 
    
          
  • TabularUnified general/common_functions.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    112112<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    113113<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    114 Next Topic:&nbsp;&nbsp;<a href="scaffolding.html">Scaffolding</a></p> 
    115 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     114Next Topic:&nbsp;&nbsp;<a href="routing.html">URI Routing</a></p> 
     115<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    116116</div> 
    117117 
    
          
  • TabularUnified general/controllers.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    379379<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    380380Next Topic:&nbsp;&nbsp;<a href="reserved_names.html">Reserved Names</a></p> 
    381 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     381<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    382382</div> 
    383383 
    
          
  • TabularUnified general/core_classes.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    179179Next Topic:&nbsp;&nbsp;<a href="hooks.html">Hooks - Extending the Core</a> 
    180180</p> 
    181 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     181<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    182182</div> 
    183183 
    
          
  • TabularUnified general/creating_libraries.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    290290<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    291291<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    292 Next Topic:&nbsp;&nbsp;<a href="core_classes.html">Creating Core System Classes</a> 
     292Next Topic:&nbsp;&nbsp;<a href="drivers.html">Using CodeIgniter Drivers</a> 
    293293</p> 
    294 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     294<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    295295</div> 
    296296 
    
          
  • TabularUnified general/credits.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8080Next Topic:&nbsp;&nbsp;<a href="../installation/downloads.html">Downloading CodeIgniter</a> 
    8181</p> 
    82 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     82<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    8383</div> 
    8484 
    
          
  • TabularUnified general/errors.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    132132Next Topic:&nbsp;&nbsp;<a href="caching.html">Page Caching</a> 
    133133</p> 
    134 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     134<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    135135</div> 
    136136 
    
          
  • TabularUnified general/helpers.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    177177<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    178178<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    179 Next Topic:&nbsp;&nbsp;<a href="plugins.html">Plugins</a> 
     179Next Topic:&nbsp;&nbsp;<a href="libraries.html">Using Libraries</a> 
    180180</p> 
    181 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     181<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    182182</div> 
    183183 
    
          
  • TabularUnified general/hooks.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    144144                <li><strong>cache_override</strong><br /> 
    145145                        Enables you to call your own function instead of the <dfn>_display_cache()</dfn> function in the output class.  This permits you to use your own cache display mechanism.</li> 
    146                 <li><strong>scaffolding_override</strong><br /> 
    147                         Permits a scaffolding request to trigger your own script instead.</li> 
    148146                <li><strong>post_system</strong><br /> 
    149147                        Called after the final rendered page is sent to the browser, at the end of system execution after the finalized data is sent to the browser.</li> 
     
    161159Next Topic:&nbsp;&nbsp;<a href="autoloader.html">Auto-loading Resources</a> 
    162160</p> 
    163 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     161<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    164162</div> 
    165163 
    
          
  • TabularUnified general/libraries.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8282<div id="footer"> 
    8383<p> 
    84 Previous Topic:&nbsp;&nbsp;<a href="plugins.html">Plugins</a> 
     84Previous Topic:&nbsp;&nbsp;<a href="helpers.html">Helpers</a> 
    8585&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    8686<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
     
    8888Next Topic:&nbsp;&nbsp;<a href="creating_libraries.html">Creating Libraries</a> 
    8989</p> 
    90 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     90<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9191</div> 
    9292 
    
          
  • TabularUnified general/managing_apps.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    127127Next Topic:&nbsp;&nbsp;<a href="alternative_php.html">Alternative PHP Syntax</a> 
    128128</p> 
    129 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     129<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    130130</div> 
    131131 
    
          
  • TabularUnified general/models.html

    r1 r2  
    2828<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    2929<tr> 
    30 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     30<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3131<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3232</tr> 
     
    245245Next Topic:&nbsp;&nbsp;<a href="helpers.html">Helpers</a> 
    246246</p> 
    247 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     247<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    248248</div> 
    249249 
    
          
  • TabularUnified general/profiling.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7070<h2>Enabling the Profiler</h2> 
    7171 
    72 <p>To enable the profiler place the following function anywhere within your <a href="controllers.html">Controller</a> functions:</p> 
    73 <code>$this->output->enable_profiler(TRUE);</code> 
     72        <p>To enable the profiler place the following function anywhere within your <a href="controllers.html">Controller</a> functions:</p> 
     73        <code>$this->output->enable_profiler(TRUE);</code> 
    7474 
    75 <p>When enabled a report will be generated and inserted at the bottom of your pages.</p> 
     75        <p>When enabled a report will be generated and inserted at the bottom of your pages.</p> 
    7676 
    77 <p>To disable the profiler you will use:</p> 
    78 <code>$this->output->enable_profiler(FALSE);</code> 
     77        <p>To disable the profiler you will use:</p> 
     78        <code>$this->output->enable_profiler(FALSE);</code> 
     79 
    7980 
    8081<h2>Setting Benchmark Points</h2> 
    8182 
    82 <p>In order for the Profiler to compile and display your benchmark data you must name your mark points using specific syntax.</p> 
     83        <p>In order for the Profiler to compile and display your benchmark data you must name your mark points using specific syntax.</p> 
    8384 
    84 <p>Please read the information on setting Benchmark points in <a href="../libraries/benchmark.html">Benchmark Class</a> page.</p> 
     85        <p>Please read the information on setting Benchmark points in <a href="../libraries/benchmark.html">Benchmark Class</a> page.</p> 
    8586 
     87 
     88<h2>Enabling and Disabling Profiler Sections</h2> 
     89 
     90        <p>Each section of Profiler data can be enabled or disabled by setting a corresponding config variable to <var>TRUE</var> or <var>FALSE</var>.  This can be done one of two ways.  First, you can set application wide defaults with the <dfn>system/application/config/profiler.php</dfn> config file.</p> 
     91 
     92        <code>$config['config']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= FALSE;<br /> 
     93        $config['queries']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= FALSE;<br /></code> 
     94 
     95        <p>In your controllers, you can override the defaults and config file values by calling the <kbd>set_profiler_sections()</kbd> method of the <a href="../libraries/output.html">Output class</a>:</p> 
     96 
     97        <code>$sections = array(<br /> 
     98        &nbsp;&nbsp;&nbsp;&nbsp;'config' &nbsp;=> TRUE,<br /> 
     99        &nbsp;&nbsp;&nbsp;&nbsp;'queries' => TRUE<br /> 
     100        &nbsp;&nbsp;&nbsp;&nbsp;);<br /> 
     101        <br /> 
     102        $this->output->set_profiler_sections($sections);</code> 
     103 
     104        <p>Available sections and the array key used to access them are described in the table below.</p> 
     105 
     106        <table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder"> 
     107                <tr> 
     108                <th>Key</th> 
     109                <th>Description</th> 
     110                <th>Default</th> 
     111                </tr><tr> 
     112 
     113                <td class="td"><strong>benchmarks</strong></td> 
     114                <td class="td">Elapsed time of Benchmark points and total execution time</td> 
     115                <td class="td">TRUE</td> 
     116                </tr><tr> 
     117 
     118                <td class="td"><strong>config</strong></td> 
     119                <td class="td">CodeIgniter Config variables</td> 
     120                <td class="td">TRUE</td> 
     121                </tr><tr> 
     122 
     123                <td class="td"><strong>controller_info</strong></td> 
     124                <td class="td">The Controller class and method requested</td> 
     125                <td class="td">TRUE</td> 
     126                </tr><tr> 
     127 
     128                <td class="td"><strong>get</strong></td> 
     129                <td class="td">Any GET data passed in the request</td> 
     130                <td class="td">TRUE</td> 
     131                </tr><tr> 
     132                         
     133                <td class="td"><strong>http_headers</strong></td> 
     134                <td class="td">The HTTP headers for the current request</td> 
     135                <td class="td">TRUE</td> 
     136                </tr><tr> 
     137 
     138                <td class="td"><strong>memory_usage</strong></td> 
     139                <td class="td">Amount of memory consumed by the current request, in bytes</td> 
     140                <td class="td">TRUE</td> 
     141                </tr><tr> 
     142 
     143                <td class="td"><strong>post</strong></td> 
     144                <td class="td">Any POST data passed in the request</td> 
     145                <td class="td">TRUE</td> 
     146                </tr><tr> 
     147 
     148                <td class="td"><strong>queries</strong></td> 
     149                <td class="td">Listing of all database queries executed, including execution time</td> 
     150                <td class="td">TRUE</td> 
     151                </tr><tr> 
     152                 
     153                <td class="td"><strong>uri_string</strong></td> 
     154                <td class="td">The URI of the current request</td> 
     155                <td class="td">TRUE</td> 
     156                </tr><tr> 
     157        </table> 
    86158 
    87159 
     
    98170Next Topic:&nbsp;&nbsp;<a href="managing_apps.html">Managing Applications</a> 
    99171</p> 
    100 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     172<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    101173</div> 
    102174 
    
          
  • TabularUnified general/quick_reference.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7171<a href="../index.html">User Guide Home</a> 
    7272</p> 
    73 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     73<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    7474</div> 
    7575 
    
          
  • TabularUnified general/requirements.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7676Next Topic:&nbsp;&nbsp;<a href="../license.html">License Agreement</a> 
    7777</p> 
    78 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     78<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    7979</div> 
    8080 
    
          
  • TabularUnified general/reserved_names.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    6868        <li>CI_Base</li> 
    6969        <li>_ci_initialize</li> 
    70         <li>_ci_scaffolding</li> 
     70        <li>Default (PHP 5)</li> 
    7171        <li>index</li> 
    7272</ul> 
    73 <p><br /> 
     73<p><br /><!-- @PHP4 --> 
    7474        If you are running PHP 4 there are some additional reserved names. These ONLY apply if you are running PHP 4.</p> 
    7575<ul> 
     
    8585        <li>library</li> 
    8686        <li>model</li> 
    87         <li>plugin</li> 
    88         <li>plugins</li> 
    89         <li>scaffolding</li> 
    9087        <li>script</li> 
    9188        <li>view</li> 
     
    9491        <li>_ci_autoloader</li> 
    9592        <li>_ci_init_class</li> 
    96         <li>_ci_init_scaffolding</li> 
    9793        <li>_ci_is_instance</li> 
    9894        <li>_ci_load</li> 
     
    150146<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    151147Next Topic:&nbsp;&nbsp;<a href="views.html">Views</a></p> 
    152 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     148<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    153149</div> 
    154150 
    
          
  • TabularUnified general/routing.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9797<p>You can match literal values or you can use two wildcard types:</p> 
    9898 
    99 <p> 
    100 :num<br /> 
    101 :any 
    102 </p> 
    103  
    104 <p><strong>:num</strong> will match a segment containing only numbers.<br /> 
    105 <strong>:any</strong> will match a segment containing any character. 
     99<p><strong>(:num)</strong> will match a segment containing only numbers.<br /> 
     100<strong>(:any)</strong> will match a segment containing any character. 
    106101</p> 
    107102 
     
    119114<p>A URL containing the segments blog/joe will be remapped to the "blogs" class and the "users" method.  The ID will be set to "34".</p> 
    120115 
    121 <code>$route['product/:any'] = "catalog/product_lookup";</code> 
     116<code>$route['product/(:any)'] = "catalog/product_lookup";</code> 
    122117<p>A URL with "product" as the first segment, and anything in the second will be remapped to the "catalog" class and the  "product_lookup" method.</p> 
    123118 
    124119<code>$route['product/(:num)'] = "catalog/product_lookup_by_id/$1";</code> 
    125 <p>A URL with "product" as the first segment, and anything in the second will be remapped to the "catalog" class and the "product_lookup_by_id" method passing in the match as a variable to the function.</p> 
     120<p>A URL with "product" as the first segment, and a number in the second will be remapped to the "catalog" class and the "product_lookup_by_id" method passing in the match as a variable to the function.</p> 
    126121 
    127122<p class="important"><strong>Important:</strong> Do not use leading/trailing slashes.</p> 
     
    151146are encouraged to always have a default route otherwise a 404 page will appear by default.</p> 
    152147 
    153 <code>$route['scaffolding_trigger'] = 'scaffolding';</code> 
    154  
    155 <p>This route lets you set a secret word, which when present in the URL, triggers the scaffolding feature. 
    156 Please read the <a href="scaffolding.html">Scaffolding</a> page for details.</p> 
    157  
    158148<p class="important"><strong>Important:</strong>&nbsp; The reserved routes must come before any wildcard or regular expression routes.</p> 
    159149 
     
    164154<div id="footer"> 
    165155<p> 
    166 Previous Topic:&nbsp;&nbsp;<a href="scaffolding.html">Scaffolding</a> 
     156Previous Topic:&nbsp;&nbsp;<a href="common_functions.html">Common Functions</a> 
    167157&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    168158<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
     
    170160Next Topic:&nbsp;&nbsp;<a href="errors.html">Error Handling</a> 
    171161</p> 
    172 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     162<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    173163</div> 
    174164 
    
          
  • TabularUnified general/security.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    113113<p>CodeIgniter comes with a Cross Site Scripting filter.  This filter looks for commonly 
    114114used techniques to embed malicious Javascript into your data, or other types of code that attempt to hijack cookies 
    115 or do other malicious things. The XSS Filter is described <a href="../libraries/input.html">here</a>. 
     115or do other malicious things. The XSS Filter is described <a href="../libraries/security.html">here</a>. 
    116116</p> 
    117117</li> 
     
    147147Next Topic:&nbsp;&nbsp;<a href="styleguide.html">PHP Style Guide</a> 
    148148</p> 
    149 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     149<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    150150</div> 
    151151 
    
          
  • TabularUnified general/styleguide.html

    r1 r2  
    3535<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3636<tr> 
    37 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     37<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3838<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3939</tr> 
     
    6565<h1>General Style and Syntax</h1> 
    6666 
    67 <p>The following page describes the coding rules use adhere to when developing CodeIgniter.</p> 
     67<p>The following page describes the use of coding rules adhered to when developing CodeIgniter.</p> 
    6868 
    6969 
     
    681681Next Topic:&nbsp;&nbsp;<a href="../doc_style/index.html">Writing Documentation</a> 
    682682</p> 
    683 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     683<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    684684</div> 
    685685 
    
          
  • TabularUnified general/urls.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    145145<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    146146Next Topic:&nbsp;&nbsp;<a href="controllers.html">Controllers</a></p> 
    147 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     147<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    148148</div> 
    149149 
    
          
  • TabularUnified general/views.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    268268Next Topic:&nbsp;&nbsp;<a href="models.html">Models</a> 
    269269</p> 
    270 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     270<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    271271</div> 
    272272 
    
          
  • TabularUnified helpers/array_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    113113<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    114114Next Topic:&nbsp;&nbsp;<a href="compatibility_helper.html">Compatibility Helper</a></p> 
    115 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     115<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    116116</div> 
    117117 
    
          
  • TabularUnified helpers/compatibility_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    112112Next Topic:&nbsp;&nbsp;<a href="cookie_helper.html">Cookie Helper</a> 
    113113</p> 
    114 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     114<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    115115</div> 
    116116 
    
          
  • TabularUnified helpers/cookie_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7171<h2>set_cookie()</h2> 
    7272 
    73 <p>Sets a cookie containing the values you specify.  There are two ways to pass information to this function so that a cookie can be set: 
    74 Array Method, and Discrete Parameters:</p> 
    75  
    76 <h4>Array Method</h4> 
    77  
    78 <p>Using this method, an associative array is passed to the first parameter:</p> 
    79  
    80 <code>$cookie = array(<br /> 
    81 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'name'&nbsp;&nbsp;&nbsp;=> 'The Cookie Name',<br /> 
    82 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'value'&nbsp;&nbsp;=> 'The Value',<br /> 
    83 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'expire' => '86500',<br /> 
    84 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'domain' => '.some-domain.com',<br /> 
    85 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'path'&nbsp;&nbsp;&nbsp;=> '/',<br /> 
    86 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'prefix' => 'myprefix_',<br /> 
    87 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br /> 
    88 <br /> 
    89 set_cookie($cookie); 
    90 </code> 
    91  
    92 <p><strong>Notes:</strong></p> 
    93  
    94 <p>Only the name and value are required. To delete a cookie set it with the expiration blank.</p> 
    95  
    96 <p>The expiration is set in <strong>seconds</strong>, which will be added to the current time.  Do not include the time, but rather only the 
    97 number of seconds from <em>now</em> that you wish the cookie to be valid.  If the expiration is set to 
    98 zero the cookie will only last as long as the browser is open.</p> 
    99 <p>For site-wide cookies regardless of how your site is requested, add your URL to the <strong>domain</strong> starting with a period, like this:  .your-domain.com</p> 
    100 <p>The path is usually not needed since the function sets a root path.</p> 
    101 <p>The prefix is only needed if you need to avoid name collisions with other identically named cookies for your server.</p> 
    102  
    103 <h4>Discrete Parameters</h4> 
    104  
    105 <p>If you prefer, you can set the cookie by passing data using individual parameters:</p> 
    106  
    107 <code>set_cookie($name, $value, $expire, $domain, $path, $prefix);</code> 
     73<p>This helper function gives you view file friendly syntax to set browser cookies.  Refer to the <a href="../libraries/input.html">Input class</a> for a description of use, as this function is an alias to $this->input->set_cookie().</p> 
    10874 
    10975<h2>get_cookie()</h2> 
    11076 
    111 <p>Lets you fetch a cookie.  The first parameter will contain the name of the cookie you are looking for (including any prefixes):</p> 
     77<p>This helper function gives you view file friendly syntax to get browser cookies.  Refer to the <a href="../libraries/input.html">Input class</a> for a description of use, as this function is an alias to $this->input->cookie().</p> 
    11278 
    113 <code>get_cookie('some_cookie');</code> 
    11479 
    115 <p>The function returns FALSE (boolean) if the item you are attempting to retrieve does not exist.</p> 
    116  
    117 <p>The second optional parameter lets you run the data through the XSS filter.  It's enabled by setting the second parameter to boolean TRUE;</p> 
    118  
    119 <p><code>get_cookie('some_cookie', TRUE);</code></p> 
    12080<h2>delete_cookie()</h2> 
    12181 
     
    141101<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    142102Next Topic:&nbsp;&nbsp;<a href="date_helper.html">Date Helper</a></p> 
    143 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     103<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    144104</div> 
    145105 
    
          
  • TabularUnified helpers/date_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    402402Next Topic:&nbsp;&nbsp;<a href="directory_helper.html">Directory Helper</a> 
    403403</p> 
    404 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     404<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    405405</div> 
    406406 
    
          
  • TabularUnified helpers/directory_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7979<p class="important"><strong>Note:</strong> Paths are almost always relative to your main index.php file.</p> 
    8080 
    81 <p>Sub-folders contained within the directory will be mapped as well.  If you wish to map 
    82 only the top level directory set the second parameter to <var>true</var> (boolean):</p> 
     81<p>Sub-folders contained within the directory will be mapped as well.  If you wish to control the recursion depth, 
     82you can do so using the second parameter (integer). A depth of 1 will only map the top level directory:</p> 
    8383 
    84 <code>$map = directory_map('./mydirectory/', TRUE);</code> 
     84<code>$map = directory_map('./mydirectory/', 1);</code> 
    8585 
    8686<p>By default, hidden files will not be included in the returned array.  To override this behavior,  
     
    137137Next Topic:&nbsp;&nbsp;<a href="download_helper.html">Download Helper</a> 
    138138</p> 
    139 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     139<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    140140</div> 
    141141 
    
          
  • TabularUnified helpers/download_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    106106<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    107107Next Topic:&nbsp;&nbsp;<a href="email_helper.html">Email Helper</a></p> 
    108 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     108<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    109109</div> 
    110110 
    
          
  • TabularUnified helpers/email_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9696<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    9797Next Topic:&nbsp;&nbsp;<a href="file_helper.html">File Helper</a></p> 
    98 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     98<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9999</div> 
    100100 
    
          
  • TabularUnified helpers/file_helper.html

    r1 r2  
    2828<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    2929<tr> 
    30 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     30<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3131<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3232</tr> 
     
    126126can optionally be added to the file names by setting the second parameter to TRUE.</p> 
    127127 
    128 <h2>get_dir_file_info('<var>path/to/directory/</var>')</h2> 
     128<h2>get_dir_file_info('<var>path/to/directory/</var>', <kbd>$top_level_only</kbd> = TRUE)</h2> 
    129129 
    130 <p>Reads the specified directory and builds an array containing the filenames, filesize, dates, and permissions.  Any sub-folders contained within the specified path are read as well.</p> 
     130<p>Reads the specified directory and builds an array containing the filenames, filesize, dates, and permissions.  Sub-folders contained within the specified path are only read if forced 
     131        by sending the second parameter, <kbd>$top_level_only</kbd> to <samp>FALSE</samp>, as this can be an intensive operation.</p> 
    131132 
    132133<h2>get_file_info('<var>path/to/file</var>', <kbd>$file_information</kbd>)</h2> 
     
    172173<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    173174Next Topic:&nbsp;&nbsp;<a href="form_helper.html">Form Helper</a></p> 
    174 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     175<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    175176</div> 
    176177 
    
          
  • TabularUnified helpers/form_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7474 
    7575<p>Creates an opening form tag with a base URL <strong>built from your config preferences</strong>.  It will optionally let you 
    76 add form attributes and hidden input fields.</p> 
     76add form attributes and hidden input fields, and will always add the attribute <kbd>accept-charset</kbd> based on the charset value in your config file.</p> 
    7777 
    7878<p>The main benefit of using this tag rather than hard coding your own HTML is that it permits your site to be more portable 
     
    8585<p>The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:</p> 
    8686 
    87 <code>&lt;form method="post" action="http:/example.com/index.php/email/send" /></code> 
     87<code>&lt;form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send" /></code> 
    8888 
    8989<h4>Adding Attributes</h4> 
     
    9898<p>The above example would create a form similar to this:</p> 
    9999 
    100 <code>&lt;form method="post" action="http:/example.com/index.php/email/send" &nbsp;class="email" &nbsp;id="myform" /></code> 
     100<code>&lt;form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send" &nbsp;class="email" &nbsp;id="myform" /></code> 
    101101 
    102102<h4>Adding Hidden Input Fields</h4> 
     
    111111<p>The above example would create a form similar to this:</p> 
    112112 
    113 <code>&lt;form method="post" action="http:/example.com/index.php/email/send"><br /> 
     113<code>&lt;form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send"><br /> 
    114114&lt;input type="hidden" name="username" value="Joe" /><br /> 
    115115&lt;input type="hidden" name="member_id" value="234" /></code> 
     
    478478Next Topic:&nbsp;&nbsp;<a href="html_helper.html">HTML Helper</a> 
    479479</p> 
    480 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     480<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    481481</div> 
    482482 
    
          
  • TabularUnified helpers/html_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    379379<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    380380Next Topic:&nbsp;&nbsp;<a href="path_helper.html"> Path Helper</a></p> 
    381 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     381<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    382382</div> 
    383383 
    
          
  • TabularUnified helpers/inflector_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    145145Next Topic:&nbsp;&nbsp;<a href="number_helper.html">Number Helper</a> 
    146146</p> 
    147 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     147<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    148148</div> 
    149149 
    
          
  • TabularUnified helpers/language_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9292Next Topic:&nbsp;&nbsp;<a href="download_helper.html">Download Helper</a> 
    9393</p> 
    94 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     94<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9595</div> 
    9696 
    
          
  • TabularUnified helpers/number_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7777echo byte_format(456); // Returns 456 Bytes<br /> 
    7878echo byte_format(4567); // Returns 4.5 KB<br /> 
    79 echo byte_format(45678); // Returns 44.8 KB<br /> 
     79echo byte_format(45678); // Returns 44.6 KB<br /> 
    8080echo byte_format(456789); // Returns 447.8 KB<br /> 
    8181echo byte_format(3456789); // Returns 3.3 MB<br /> 
    8282echo byte_format(12345678912345); // Returns 1.8 GB<br /> 
    8383echo byte_format(123456789123456789); // Returns 11,228.3 TB 
     84</code> 
     85 
     86<p>An optional second parameter allows you to set the precision of the result.</p> 
     87 
     88<code> 
     89echo byte_format(45678, 2); // Returns 44.61 KB 
    8490</code> 
    8591 
     
    101107Next Topic:&nbsp;&nbsp;<a href="path_helper.html">Path Helper</a> 
    102108</p> 
    103 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     109<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    104110</div> 
    105111 
    
          
  • TabularUnified helpers/path_helper.html

    r1 r2  
    2828<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    2929<tr> 
    30 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     30<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3131<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3232</tr> 
     
    100100Next Topic:&nbsp;&nbsp;<a href="security_helper.html">Security Helper</a> 
    101101</p> 
    102 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     102<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    103103</div> 
    104104 
    
          
  • TabularUnified helpers/security_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7676 
    7777 
    78 <h2>dohash()</h2> 
     78<h2>do_hash()</h2> 
    7979 
    8080<p>Permits you to create SHA1 or MD5 one way hashes suitable for encrypting passwords.  Will create SHA1 by default. Examples:</p> 
    8181 
    8282<code> 
    83 $str = dohash($str); // SHA1<br /> 
     83$str = do_hash($str); // SHA1<br /> 
    8484<br /> 
    85 $str = dohash($str, 'md5'); // MD5 
     85$str = do_hash($str, 'md5'); // MD5 
    8686</code> 
    8787 
     88<p class="important"><strong>Note:</strong>  This function was formerly named <kbd>dohash()</kbd>, which has been deprecated in favour of <kbd>do_hash()</kbd>.</p> 
    8889 
    8990 
     
    119120<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    120121Next Topic:&nbsp;&nbsp;<a href="smiley_helper.html">Smiley Helper</a></p> 
    121 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     122<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    122123</div> 
    123124 
    
          
  • TabularUnified helpers/smiley_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    209209Next Topic:&nbsp;&nbsp;<a href="string_helper.html">String Helper</a> 
    210210</p> 
    211 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     211<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    212212</div> 
    213213 
    
          
  • TabularUnified helpers/string_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7575<p>The first parameter specifies the type of string, the second parameter specifies the length.  The following choices are available:</p> 
    7676 
    77  
     77 alpha, alunum, numeric, nozero, unique, md5, encrypt and sha1 
    7878<ul> 
    79 <li><strong>alnum</strong>:&nbsp; Alpha-numeric string with lower and uppercase characters.</li> 
    80 <li><strong>numeric</strong>:&nbsp; Numeric string.</li> 
    81 <li><strong>nozero</strong>:&nbsp; Numeric string with no zeros.</li> 
    82 <li><strong>unique</strong>:&nbsp; Encrypted with MD5 and uniqid(). Note: The length parameter is not available for this type. 
    83 Returns a fixed length 32 character string.</li> 
     79        <li><strong>alpha</strong>:&nbsp; A string with lower and uppercase letters only.</li> 
     80        <li><strong>alnum</strong>:&nbsp; Alpha-numeric string with lower and uppercase characters.</li> 
     81        <li><strong>numeric</strong>:&nbsp; Numeric string.</li> 
     82        <li><strong>nozero</strong>:&nbsp; Numeric string with no zeros.</li> 
     83        <li><strong>unique</strong>:&nbsp; Encrypted with MD5 and uniqid(). Note: The length parameter is not available for this type. 
     84        Returns a fixed length 32 character string.</li> 
     85        <li><strong>sha1</strong>:&nbsp; An encrypted random number based on <kbd>do_hash()</kbd> from the <a href="security_helper.html">security helper</a>.</li> 
    8486</ul> 
    8587 
     
    170172Next Topic:&nbsp;&nbsp;<a href="text_helper.html">Text Helper</a> 
    171173</p> 
    172 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     174<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    173175</div> 
    174176 
    
          
  • TabularUnified helpers/text_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    116116<p>This function does the opposite of the previous one; it turns character entities back into ASCII.</p> 
    117117 
     118<h2>convert_accented_characters()</h2> 
     119 
     120<p>Transliterates high ASCII characters to low ASCII equivalents, useful when non-English characters need to be used where only standard ASCII characters are safely used, for instance, in URLs.</p> 
     121 
     122<code>$string = convert_accented_characters($string);</code> 
     123         
     124<p>This function uses a companion config file <dfn>system/application/config/foreign_chars.php</dfn> to define the to and from array for transliteration.</p> 
    118125 
    119126<h2>word_censor()</h2> 
     
    186193Next Topic:&nbsp;&nbsp;<a href="typography_helper.html">Typography Helper</a> 
    187194</p> 
    188 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     195<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    189196</div> 
    190197 
    
          
  • TabularUnified helpers/typography_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    106106Next Topic:&nbsp;&nbsp;<a href="url_helper.html">URL Helper</a> 
    107107</p> 
    108 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     108<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    109109</div> 
    110110 
    
          
  • TabularUnified helpers/url_helper.html

    r1 r2  
    2828<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    2929<tr> 
    30 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     30<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3131<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3232</tr> 
     
    135135<p>Here are some examples:</p> 
    136136 
    137 <code>echo anchor('news/local/123', 'title="My News"');</code> 
    138  
    139 <p>Would produce: &lt;a href="http://example.com/index.php/news/local/123" title="My News">My News&lt;/a></p> 
     137<code>echo anchor('news/local/123', 'My News', 'title="News title"');</code> 
     138 
     139<p>Would produce: &lt;a href="http://example.com/index.php/news/local/123" title="News title">My News&lt;/a></p> 
    140140 
    141141<code>echo anchor('news/local/123', 'My News', array('title' => 'The best news!'));</code> 
     
    247247<h2>redirect()</h2> 
    248248 
    249 <p>Does a "header redirect" to the local URI specified. Just like other functions in this helper, this one is designed 
    250 to redirect to a local URL within your site.  You will <strong>not</strong> specify the full site URL, but rather simply the URI segments 
    251 to the controller you want to direct to. The function will build the URL based on your config file values.</p> 
     249<p>Does a "header redirect" to the URI specified. If you specify the full site URL that link will be build, but for local links simply providing the URI segments 
     250to the controller you want to direct to will create the link. The function will build the URL based on your config file values.</p> 
    252251 
    253252<p>The optional second parameter allows you to choose between the "location" 
     
    283282Next Topic:&nbsp;&nbsp;<a href="xml_helper.html">XML Helper</a> 
    284283</p> 
    285 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     284<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    286285</div> 
    287286 
    
          
  • TabularUnified helpers/xml_helper.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9999<a href="../index.html">User Guide Home</a> 
    100100</p> 
    101 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     101<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    102102</div> 
    103103 
    
          
  • TabularUnified index.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9191<div id="footer"> 
    9292<p><a href="#top">Top of Page</a></p> 
    93 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     93<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9494</div> 
    9595 
    
          
  • TabularUnified installation/downloads.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8383 
    8484 
    85 <h1><a name="svn" id="svn"></a>Subversion Server</h1> 
    86 <p><a href="http://subversion.tigris.org">Subversion</a> is a version control system. </p> 
    87 <p>Public subversion access is now available via <a href="http://dev.ellislab.com/svn/CodeIgniter/trunk">http://dev.ellislab.com/svn/CodeIgniter/trunk</a> please note that while every effort is made to keep this codebase functional, we cannot guarantee the functionality of code taken from the repository.</p> 
    88 <p>Beginning with version 1.6.1, version snapshots (tags) are also available via the Subversion server via <a href="http://dev.ellislab.com/svn/CodeIgniter/tags">http://dev.ellislab.com/svn/CodeIgniter/tags</a>.</p> 
     85<h1 id="hg">Mercurial Server</h1> 
     86<p><a href="http://mercurial.selenic.com">Mercurial</a> is a distributed version control system.</p> 
     87                                                         
     88                                                        <p>Public Hg access is available at <a href="http://bitbucket.org/ellislab/codeigniter/">BitBucket</a>. 
     89                                                                Please note that while every effort is made to keep this code base functional, we cannot guarantee the functionality of code taken 
     90                                                                from the tip.</p> 
     91                                                         
     92                                                        <p>Beginning with version 1.6.1, stable tags are also available via BitBucket, simply select the version from the Tags dropdown.</p> 
    8993</div> 
    9094<!-- END CONTENT --> 
     
    99103Next Topic:&nbsp;&nbsp;<a href="../installation/index.html">Installation Instructions</a> 
    100104</p> 
    101 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     105<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    102106</div> 
    103107 
    
          
  • TabularUnified installation/index.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9191</p> 
    9292 
    93 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     93<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9494</div> 
    9595 
    
          
  • TabularUnified installation/troubleshooting.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8484Next Topic:&nbsp;&nbsp;<a href="../overview/at_a_glance.html">CodeIgniter at a Glance</a> 
    8585</p> 
    86 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     86<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    8787</div> 
    8888 
    
          
  • TabularUnified installation/upgrade_120.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8686Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    8787</p> 
    88 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     88<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    8989</div> 
    9090 
    
          
  • TabularUnified installation/upgrade_130.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    197197Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    198198</p> 
    199 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     199<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    200200</div> 
    201201 
    
          
  • TabularUnified installation/upgrade_131.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9696Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    9797</p> 
    98 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     98<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9999</div> 
    100100 
    
          
  • TabularUnified installation/upgrade_132.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9494Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    9595</p> 
    96 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     96<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9797</div> 
    9898 
    
          
  • TabularUnified installation/upgrade_133.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    106106Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    107107</p> 
    108 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     108<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    109109</div> 
    110110 
    
          
  • TabularUnified installation/upgrade_140.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    139139Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    140140</p> 
    141 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     141<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    142142</div> 
    143143 
    
          
  • TabularUnified installation/upgrade_141.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    142142Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    143143</p> 
    144 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     144<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    145145</div> 
    146146 
    
          
  • TabularUnified installation/upgrade_150.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    172172Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    173173</p> 
    174 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     174<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    175175</div> 
    176176 
    
          
  • TabularUnified installation/upgrade_152.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    105105Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    106106</p> 
    107 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     107<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    108108</div> 
    109109 
    
          
  • TabularUnified installation/upgrade_153.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9494Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    9595</p> 
    96 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     96<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9797</div> 
    9898 
    
          
  • TabularUnified installation/upgrade_154.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    110110Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    111111</p> 
    112 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     112<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    113113</div> 
    114114 
    
          
  • TabularUnified installation/upgrade_160.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    119119Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    120120</p> 
    121 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     121<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    122122</div> 
    123123 
    
          
  • TabularUnified installation/upgrade_161.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9292Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    9393</p> 
    94 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     94<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9595</div> 
    9696 
    
          
  • TabularUnified installation/upgrade_162.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    100100Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    101101</p> 
    102 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     102<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    103103</div> 
    104104 
    
          
  • TabularUnified installation/upgrade_163.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9393Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    9494</p> 
    95 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     95<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9696</div> 
    9797 
    
          
  • TabularUnified installation/upgrade_170.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    115115Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    116116</p> 
    117 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     117<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    118118</div> 
    119119 
    
          
  • TabularUnified installation/upgrade_171.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9292Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    9393</p> 
    94 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     94<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9595</div> 
    9696 
    
          
  • TabularUnified installation/upgrade_172.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8484<p>404 status headers are now properly handled in the show_404() method itself.</p> 
    8585 
    86 <h2>Step 2: Update your user guide</h2> 
     86<h2>Step 3: Update your user guide</h2> 
    8787<p>Please replace your local copy of the user guide with the new version, including the image files.</p> 
    8888 
     
    9999Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    100100</p> 
    101 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     101<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    102102</div> 
    103103 
    
          
  • TabularUnified installation/upgrade_b11.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    138138Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    139139</p> 
    140 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     140<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    141141</div> 
    142142 
    
          
  • TabularUnified installation/upgrading.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9595Next Topic:&nbsp;&nbsp;<a href="troubleshooting.html">Troubleshooting</a> 
    9696</p> 
    97 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     97<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9898</div> 
    9999 
    
          
  • TabularUnified libraries/benchmark.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    192192Next Topic:&nbsp;&nbsp;<a href="calendar.html">Calendar Class</a> 
    193193</p> 
    194 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     194<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    195195</div> 
    196196 
    
          
  • TabularUnified libraries/calendar.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    243243Next Topic:&nbsp;&nbsp;<a href="cart.html">Cart Class</a> 
    244244</p> 
    245 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     245<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    246246</div> 
    247247 
    
          
  • TabularUnified libraries/cart.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    340340Next Topic:&nbsp;&nbsp;<a href="config.html">Config Class</a> 
    341341</p> 
    342 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     342<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    343343</div> 
    344344 
    
          
  • TabularUnified libraries/config.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    175175Next Topic:&nbsp;&nbsp;<a href="../database/index.html">Database Class</a> 
    176176</p> 
    177 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     177<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    178178</div> 
    179179 
    
          
  • TabularUnified libraries/email.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    301301Next Topic:&nbsp;&nbsp;<a href="encryption.html">Encryption Class</a> 
    302302</p> 
    303 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     303<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    304304</div> 
    305305 
    
          
  • TabularUnified libraries/encryption.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    133133$plaintext_string = $this->encrypt->decode($encrypted_string);</code> 
    134134 
     135<p>You can optionally pass your encryption key via the second parameter if you don't want to use the one in your config file:</p> 
     136 
     137<code> 
     138$msg = 'My secret message';<br /> 
     139$key = 'super-secret-key';<br /> 
     140<br /> 
     141$encrypted_string = $this->encrypt->decode($msg, $key);</code> 
     142 
    135143 
    136144<h2>$this->encrypt->set_cipher();</h2> 
     
    176184Next Topic:&nbsp;&nbsp;<a href="file_uploading.html">File Uploading Class</a> 
    177185</p> 
    178 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     186<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    179187</div> 
    180188 
    
          
  • TabularUnified libraries/file_uploading.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7575</ul> 
    7676 
    77 <p>To demonstrate this process here is brief tutorial. Afterward you'll find reference information.</p> 
     77<p>To demonstrate this process here is a brief tutorial. Afterward you'll find reference information.</p> 
    7878 
    7979<h2>Creating the Upload Form</h2> 
     
    256256<td class="td">None</td> 
    257257<td class="td">None</td> 
    258 <td class="td">The mime types corresponding to the types of files you allow to be uploaded.  Usually the file extension can be used as the mime type.  Separate multiple types with a pipe.</td> 
     258<td class="td">The mime types corresponding to the types of files you allow to be uploaded.  Usually the file extension can be used as the mime type.  Separate multiple types with a pipe.  If '*' is used, all file types will be allowed.</td> 
    259259</tr> 
    260260 
     
    442442Next Topic:&nbsp;&nbsp;<a href="form_validation.html">Form Validation Class</a> 
    443443</p> 
    444 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     444<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    445445</div> 
    446446 
    
          
  • TabularUnified libraries/form_validation.html

    r1 r2  
    2828<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    2929<tr> 
    30 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     30<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3131<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3232</tr> 
     
    450450<p>Open your <dfn>myform.php</dfn> view file and update the <strong>value</strong> in each field using the <dfn>set_value()</dfn> function:</p> 
    451451 
    452 <p><strong>Don't forget to include each. field name in the <dfn>set_value()</dfn> functions!</strong></p> 
     452<p><strong>Don't forget to include each field name in the <dfn>set_value()</dfn> functions!</strong></p> 
    453453 
    454454 
     
    12151215Next Topic:&nbsp;&nbsp;<a href="ftp.html">FTP Class</a> 
    12161216</p> 
    1217 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     1217<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    12181218</div> 
    12191219 
    
          
  • TabularUnified libraries/ftp.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    297297Next Topic:&nbsp;&nbsp;<a href="table.html">HTML Table Class</a> 
    298298</p> 
    299 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     299<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    300300</div> 
    301301 
    
          
  • TabularUnified libraries/image_lib.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    113113folder containing the image files must have write permissions.</p> 
    114114 
     115<p class="important"><strong>Note:</strong> Image processing can require a considerable amount of server memory for some operations. If you are experiencing out of memory errors while processing images you may need to limit their maximum size, and/or adjust PHP memory limits.</p> 
    115116 
    116117<h2>Processing Functions</h2> 
     
    660661Next Topic:&nbsp;&nbsp;<a href="input.html">Input Class</a> 
    661662</p> 
    662 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     663<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    663664</div> 
    664665 
    
          
  • TabularUnified libraries/input.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    4343<a href="http://codeigniter.com/">CodeIgniter Home</a> &nbsp;&#8250;&nbsp; 
    4444<a href="../index.html">User Guide Home</a> &nbsp;&#8250;&nbsp; 
    45 Input and Security Class 
     45Input Class 
    4646</td> 
    4747<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="codeigniter.com/user_guide/" />Search User Guide&nbsp; <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" />&nbsp;<input type="submit" class="submit" name="sa" value="Go" /></form></td> 
     
    8484<h2>XSS Filtering</h2> 
    8585 
    86 <p>CodeIgniter comes with a Cross Site Scripting Hack prevention filter which can either run automatically to filter 
    87 all POST and COOKIE data that is encountered, or you can run it on a per item basis.  By default it does <strong>not</strong> 
    88 run globally since it requires a bit of processing overhead, and since you may not need it in all cases.</p> 
    89  
    90 <p>The XSS filter looks for commonly used techniques to trigger Javascript or other types of code that attempt to hijack cookies 
    91 or do other malicious things.  If anything disallowed is encountered it is rendered safe by converting the data to character entities.</p> 
    92  
    93 <p> 
    94 Note: This function should only be used to deal with data upon submission. It's not something that should be used for general runtime processing since it requires a fair amount of processing overhead.</p> 
    95  
    96  
    97 <p>To filter data through the XSS filter use this function:</p> 
    98  
    99 <h2>$this->input->xss_clean()</h2> 
    100  
    101 <p>Here is an usage example:</p> 
    102  
    103 <code>$data = $this->input->xss_clean($data);</code> 
    104  
    105 <p>If you want the filter to run automatically every time it encounters POST or COOKIE data you can enable it by opening your 
     86<p>The Input class has the ability to filter input automatically to prevent cross-site scripting attacks.  If you want the filter to run automatically every time it encounters POST or COOKIE data you can enable it by opening your 
    10687<kbd>application/config/config.php</kbd> file and setting this:</p> 
    10788 
    10889<code>$config['global_xss_filtering'] = TRUE;</code> 
    10990 
    110 <p>Note: If you use the form validation class, it gives you the option of XSS filtering as well.</p> 
    111  
    112 <p>An optional second parameter, <dfn>is_image</dfn>, allows this function to be used to test images for potential XSS attacks, useful for file upload security.  When this second parameter is set to <dfn>TRUE</dfn>, instead of returning an altered string, the function returns TRUE if the image is safe, and FALSE if it contained potentially malicious information that a browser may attempt to execute.</p> 
    113  
    114 <code>if ($this->input->xss_clean($file, TRUE) === FALSE)<br /> 
    115 {<br /> 
    116 &nbsp;&nbsp;&nbsp;&nbsp;// file failed the XSS test<br /> 
    117 }</code> 
     91<p>Please refer to the <a href="security.html">Security class</a> documentation for information on using XSS Filtering in your application.</p> 
    11892 
    11993 
     
    184158 
    185159 
     160<h2>$this->input->set_cookie()</h2> 
     161 
     162<p>Sets a cookie containing the values you specify.  There are two ways to pass information to this function so that a cookie can be set: 
     163Array Method, and Discrete Parameters:</p> 
     164 
     165<h4>Array Method</h4> 
     166 
     167<p>Using this method, an associative array is passed to the first parameter:</p> 
     168 
     169<code>$cookie = array(<br /> 
     170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'name'&nbsp;&nbsp;&nbsp;=> 'The Cookie Name',<br /> 
     171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'value'&nbsp;&nbsp;=> 'The Value',<br /> 
     172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'expire' => '86500',<br /> 
     173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'domain' => '.some-domain.com',<br /> 
     174&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'path'&nbsp;&nbsp;&nbsp;=> '/',<br /> 
     175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'prefix' => 'myprefix_',<br /> 
     176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br /> 
     177<br /> 
     178$this->input->set_cookie($cookie); 
     179</code> 
     180 
     181<p><strong>Notes:</strong></p> 
     182 
     183<p>Only the name and value are required. To delete a cookie set it with the expiration blank.</p> 
     184 
     185<p>The expiration is set in <strong>seconds</strong>, which will be added to the current time.  Do not include the time, but rather only the 
     186number of seconds from <em>now</em> that you wish the cookie to be valid.  If the expiration is set to 
     187zero the cookie will only last as long as the browser is open.</p> 
     188<p>For site-wide cookies regardless of how your site is requested, add your URL to the <strong>domain</strong> starting with a period, like this:  .your-domain.com</p> 
     189<p>The path is usually not needed since the function sets a root path.</p> 
     190<p>The prefix is only needed if you need to avoid name collisions with other identically named cookies for your server.</p> 
     191 
     192<h4>Discrete Parameters</h4> 
     193 
     194<p>If you prefer, you can set the cookie by passing data using individual parameters:</p> 
     195 
     196<code>$this->input->set_cookie($name, $value, $expire, $domain, $path, $prefix);</code> 
     197 
     198<h2>$this->input->get_cookie()</h2> 
     199 
     200<p>Lets you fetch a cookie.  The first parameter will contain the name of the cookie you are looking for (including any prefixes):</p> 
     201 
     202<code>get_cookie('some_cookie');</code> 
     203 
     204<p>The function returns FALSE (boolean) if the item you are attempting to retrieve does not exist.</p> 
     205 
     206<p>The second optional parameter lets you run the data through the XSS filter.  It's enabled by setting the second parameter to boolean TRUE;</p> 
     207 
     208<p><code>get_cookie('some_cookie', TRUE);</code></p> 
    186209 
    187210 
     
    225248Next Topic:&nbsp;&nbsp;<a href="loader.html">Loader Class</a> 
    226249</p> 
    227 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     250<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    228251</div> 
    229252 
    
          
  • TabularUnified libraries/language.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    131131Next Topic:&nbsp;&nbsp;<a href="output.html">Output Class</a> 
    132132</p> 
    133 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     133<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    134134</div> 
    135135 
    
          
  • TabularUnified libraries/loader.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    6060 
    6161<p>Loader, as the name suggests, is used to load elements.  These elements can be libraries (classes) <a href="../general/views.html">View files</a>, 
    62 <a href="../general/helpers.html">Helpers</a>, <a href="../general/plugins.html">Plugins</a>, or your own files.</p> 
     62<a href="../general/helpers.html">Helpers</a>, <a href="../general/models.html">Models</a>, or your own files.</p> 
    6363 
    6464<p class="important"><strong>Note:</strong> This class is initialized automatically by the system so there is no need to do it manually.</p> 
     
    157157 
    158158 
    159 <h2>$this->load->scaffolding('<var>table_name</var>')</h2> 
    160  
    161 <p>This function lets you enable scaffolding.  Please see the 
    162 <a href="../general/scaffolding.html">scaffolding</a> section for more info.</p> 
    163  
    164159 
    165160 
     
    178173 
    179174 
    180 <h2>$this->load->plugin('<var>file_name</var>')</h2> 
    181 <p>This function loads plugins files, where <var>file_name</var> is the name of the file, without the <kbd>_plugin.php</kbd> extension.</p> 
    182  
    183175<h2>$this->load->file('<var>filepath/filename</var>', <kbd>true/false</kbd>)</h2> 
    184176<p>This is a generic file loading function.  Supply the filepath and name in the first parameter and it will open and read the file. 
     
    187179 
    188180 
    189 <h2>$this->load->lang('<var>file_name</var>')</h2> 
     181<h2>$this->load->language('<var>file_name</var>')</h2> 
    190182<p>This function is an alias of the <a href="language.html">language loading function</a>: $this->lang->load()</p> 
    191183 
     
    194186 
    195187 
     188<h2>Application "Packages"</h2> 
     189 
     190<p>An application package allows for the easy distribution of complete sets of resources in a single directory, complete with its own libraries, models, helpers, config, and language files.  It is recommended that these packages be placed in the <dfn>system/application/third_party</dfn> folder.  Below is a sample map of an package directory</p> 
     191 
     192 
     193<h2>Sample Package "Foo Bar" Directory Map</h2> 
     194 
     195<p>The following is an example of a directory for an application package named "Foo Bar".</p> 
     196 
     197<code>/system/application/third_party/foo_bar<br /> 
     198<br /> 
     199config/<br /> 
     200helpers/<br /> 
     201language/<br /> 
     202libraries/<br /> 
     203models/<br /> 
     204</code> 
     205 
     206<p>Whatever the purpose of the "Foo Bar" application package, it has its own config files, helpers, language files, libraries, and models.  To use these resources in your controllers, you first need to tell the Loader that you are going to be loading resources from a package, by adding the package path.</p> 
     207 
     208<h3>$this->load->add_package_path()</h3> 
     209 
     210<p>Adding a package path instructs the Loader class to prepend a given path for subsequent requests for resources.  As an example, the "Foo Bar" application package above has a library named <dfn>Foo_bar.php</dfn>. In our controller, we'd do the following:</p> 
     211 
     212<code>$this->load->add_package_path(<var>APPPATH</var>.'third_party/<var>foo_bar</var>/');<br /> 
     213$this->load->library('foo_bar');</code> 
     214 
     215<h3>$this->load->remove_package_path()</h3> 
     216 
     217<p>When your controller is finished using resources from an application package, and particularly if you have other application packages you want to work with, you may wish to remove the package path so the Loader no longer looks in that folder for resources.  To remove the last path added, simply call the method with no parameters.</p> 
     218 
     219<h3>$this->load->remove_package_path()</h3> 
     220         
     221<p>Or to remove a specific package path, specify the same path previously given to <kbd>add_package_path() for a package.</kbd>:</p> 
     222 
     223<code>$this->load->remove_package_path(<var>APPPATH</var>.'third_party/<var>foo_bar</var>/');</code> 
     224 
     225<h3>Package view files</h3> 
     226 
     227<p>@todo - package view file interface is not complete.  It can be experimentally used by first saving the Loader's original view path, setting the view path to the package's view path, and when finished, setting back to the original view path.</p> 
     228 
     229<code>// ... save the original view path, and set to our Foo Bar package view folder<br /> 
     230$orig_view_path = $this->load->_ci_view_path;<br /> 
     231$this->load->_ci_view_path = <var>APPPATH</var>.'third_party/<var>foo_bar</var>/views/';<br /> 
     232<br /> 
     233// ... code using the package's view files<br /> 
     234<br /> 
     235// ... then return the view path to the application's original view path<br /> 
     236$this->load->_ci_view_path = $orig_view_path;</code> 
    196237 
    197238 
     
    208249Next Topic:&nbsp;&nbsp;<a href="language.html">Language Class</a> 
    209250</p> 
    210 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     251<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    211252</div> 
    212253 
    
          
  • TabularUnified libraries/output.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8888 
    8989 
     90<h2>$this->output->append_output();</h2> 
     91 
     92<p>Appends data onto the output string.  Usage example:</p> 
     93 
     94<code>$this->output->append_output($data);</code> 
     95 
     96 
     97 
    9098<h2>$this->output->set_header();</h2> 
    9199 
     
    123131<code>$this->output->enable_profiler(FALSE);</code> 
    124132 
     133<h2>$this->output->set_profiler_sections();</h2> 
     134 
     135<p>Permits you to enable/disable specific sections of the Profiler when enabled.  Please refer to the <a href="../general/profiling.html">Profiler</a> documentation for further information.</p> 
    125136 
    126137<h2>$this->output->cache();</h2> 
    127138<p>The CodeIgniter output library also controls caching.  For more information, please see the <a href="../general/caching.html">caching documentation</a>.</p> 
    128139 
     140<h2>Parsing Execution Variables</h2> 
     141 
     142        <p>CodeIgniter will parse the pseudo-variables <var>{elapsed_time}</var> and <var>{memory_usage}</var> in your output by default.  To disable this, set the <var>$parse_exec_vars</var> class property to <var>FALSE</var> in your controller. 
     143                 
     144        <code>$this->output->parse_exec_vars = FALSE;</code> 
     145         
    129146</div> 
    130147<!-- END CONTENT --> 
     
    139156Next Topic:&nbsp;&nbsp;<a href="pagination.html">Pagination Class</a> 
    140157</p> 
    141 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     158<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    142159</div> 
    143160 
    
          
  • TabularUnified libraries/pagination.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    212212Next Topic:&nbsp;&nbsp;<a href="sessions.html">Session Class</a> 
    213213</p> 
    214 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     214<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    215215</div> 
    216216 
    
          
  • TabularUnified libraries/parser.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    124124<code>$string = $this->parser->parse('blog_template', $data, TRUE);</code> 
    125125 
     126<h2>$this->parser->parse_string()</h2> 
     127 
     128<p>This method works exactly like parse(), only accepts a string as the first parameter in place of a view file.</p> 
     129 
    126130 
    127131<h2>Variable Pairs</h2> 
     
    202206Next Topic:&nbsp;&nbsp;<a href="typography.html">Typography</a> 
    203207</p> 
    204 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     208<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    205209</div> 
    206210 
    
          
  • TabularUnified libraries/sessions.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    124124<p>Note: Session cookies are only updated every five minutes by default to reduce processor load.  If you repeatedly reload a page 
    125125you'll notice that the "last activity" time only updates if five minutes or more has passed since the last time 
    126 the cookie was written. This time is configurable by changing the $config['time_to_update'] line in your system/config/config.php file.</p> 
     126the cookie was written. This time is configurable by changing the $config['sess_time_to_update'] line in your system/config/config.php file.</p> 
    127127 
    128128<h2>Retrieving Session Data</h2> 
     
    299299<div id="footer"> 
    300300<p> 
    301 Previous Topic:&nbsp;&nbsp;<a href="pagination.html">Pagination Class</a> 
     301Previous Topic:&nbsp;&nbsp;<a href="security.html">Security Class</a> 
    302302&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
    303303<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp; 
     
    305305Next Topic:&nbsp;&nbsp;<a href="trackback.html">Trackback Class</a> 
    306306</p> 
    307 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     307<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    308308</div> 
    309309 
    
          
  • TabularUnified libraries/table.html

    r1 r2  
    33<head> 
    44 
     5<title>CodeIgniter User Guide : HTML Table Class</title> 
     6 
     7<link rel='stylesheet' type='text/css' media='all' href='http://codeigniter.com/user_guide/userguide.css' /> 
     8 
     9<script type="text/javascript" src="http://codeigniter.com/user_guide/nav/nav.js"></script> 
     10<script type="text/javascript" src="http://codeigniter.com/user_guide/nav/prototype.lite.js"></script> 
     11<script type="text/javascript" src="http://codeigniter.com/user_guide/nav/moo.fx.js"></script> 
     12<script type="text/javascript" src="http://codeigniter.com/user_guide/nav/user_guide_menu.js"></script> 
     13 
    514<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    6 <title>HTML Table Class : CodeIgniter User Guide</title> 
    7  
    8 <style type='text/css' media='all'>@import url('../userguide.css');</style> 
    9 <link rel='stylesheet' type='text/css' media='all' href='../userguide.css' /> 
    10  
    11 <script type="text/javascript" src="../nav/nav.js"></script> 
    12 <script type="text/javascript" src="../nav/prototype.lite.js"></script> 
    13 <script type="text/javascript" src="../nav/moo.fx.js"></script> 
    14 <script type="text/javascript" src="../nav/user_guide_menu.js"></script> 
    15  
    1615<meta http-equiv='expires' content='-1' /> 
    1716<meta http-equiv= 'pragma' content='no-cache' /> 
     
    2524<!-- START NAVIGATION --> 
    2625<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div> 
    27 <div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="../images/nav_toggle_darker.jpg" width="154" height="43" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div> 
     26<div id="nav2"><a name="top"></a><a href="javascript:void(0);" onclick="myHeight.toggle();"><img src="http://codeigniter.com/user_guide/images/nav_toggle.jpg" width="153" height="44" border="0" title="Toggle Table of Contents" alt="Toggle Table of Contents" /></a></div> 
    2827<div id="masthead"> 
    2928<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3029<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     30<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3231<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3332</tr> 
     
    200199<code>$this->table->add_row(array('Blue', 'Red', 'Green'));</code> 
    201200 
     201<p>If you would like to set an individual cell's tag attributes, you can use an associative array for that cell.  The associative key <dfn>'data'</dfn> defines the cell's data.  Any other key =&gt; val pairs are added as <dfn>key='val'</dfn> attributes to the tag:</p> 
     202 
     203<code>$cell = array('data' => 'Blue', 'class' => 'highlight', 'colspan' => 2);<br /> 
     204$this->table->add_row($cell, 'Red', 'Green');<br /> 
     205<br /> 
     206// generates<br /> 
     207// &lt;td class='highlight' colspan='2'&gt;Blue&lt;/td&gt;&lt;td&gt;Red&lt;/td&gt;&lt;td&gt;Green&lt;/td&gt; 
     208</code> 
    202209 
    203210<h2>$this->table->make_columns()</h2> 
     
    275282</code> 
    276283 
     284<h2>$this->table->function</h2> 
     285 
     286<p>Allows you to specify a native PHP function or a valid function array object to be applied to all cell data.</p> 
     287 
     288<code>$this->load->library('table');<br /> 
     289<br /> 
     290$this->table->set_heading('Name', 'Color', 'Size');<br /> 
     291$this->table->add_row('Fred', '&lt;strong&gt;Blue&lt;/strong&gt;', 'Small');<br /> 
     292<br /> 
     293$this->table->function = 'htmlspecialchars';<br /> 
     294echo $this->table->generate();<br /> 
     295</code> 
     296 
     297<p>In the above example, all cell data would be ran through PHP's <dfn>htmlspecialchars()</dfn> function, resulting in:</p> 
     298 
     299<code>&lt;td&gt;Fred&lt;/td&gt;&lt;td&gt;&amp;lt;strong&amp;gt;Blue&amp;lt;/strong&amp;gt;&lt;/td&gt;&lt;td&gt;Small&lt;/td&gt;</code> 
    277300</div> 
    278301<!-- END CONTENT --> 
     
    286309Next Topic:&nbsp;&nbsp;<a href="image_lib.html">Image Manipulation Class</a> 
    287310</p> 
    288 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     311<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    289312</div> 
    290313 
    
          
  • TabularUnified libraries/trackback.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    240240Next Topic:&nbsp;&nbsp;<a href="parser.html">Template Parser Class</a> 
    241241</p> 
    242 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     242<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    243243</div> 
    244244 
    
          
  • TabularUnified libraries/typography.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    154154Next Topic:&nbsp;&nbsp;<a href="unit_testing.html">Unit Testing Class</a> 
    155155</p> 
    156 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     156<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    157157</div> 
    158158 
    
          
  • TabularUnified libraries/unit_testing.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8080<p>Running a test involves supplying a test and an expected result to the following function:</p> 
    8181 
    82 <h2>$this->unit->run( <var>test</var>, <var>expected result</var>, '<var>test name</var>' );</h2> 
    83  
    84 <p>Where <var>test</var> is the result of the code you wish to test, 
    85 <var>expected result</var> is the data type you expect, and <var>test name</var> is an optional name you can give your test. Example:</p> 
     82<h2>$this->unit->run( <var>test</var>, <var>expected result</var>, '<var>test name</var>', '<var>notes</var>');</h2> 
     83 
     84<p>Where <var>test</var> is the result of the code you wish to test, <var>expected result</var> is the data type you expect,  
     85<var>test name</var> is an optional name you can give your test, and <var>notes</var> are optional notes. Example:</p> 
    8686 
    8787<code>$test = 1 + 1;<br /> 
     
    105105 
    106106<ul> 
     107<li>is_object</li> 
    107108<li>is_string</li> 
    108109<li>is_bool</li> 
     
    160161<code>$this->unit->active(FALSE)</code> 
    161162 
    162  
    163  
    164 <h2>Creating a Template</h2> 
     163<h2>Unit Test Display</h2> 
     164 
     165<p>When your unit test results display, the following items show by default:</p> 
     166 
     167<ul> 
     168        <li>Test Name (test_name)</li> 
     169        <li>Test Datatype (test_datatype)</li> 
     170        <li>Expected Datatype (res_datatype)</li> 
     171        <li>Result (result)</li> 
     172        <li>File Name (file)</li> 
     173        <li>Line Number (line)</li> 
     174        <li>Any notes you entered for the test (notes)</li> 
     175</ul> 
     176 
     177You can customize which of these items get displayed by using <kbd>$this->unit->set_items()</kbd>. For example, if you only wanted the test name and the result displayed:</p> 
     178 
     179<h3>Customizing displayed tests</h3> 
     180 
     181<code> 
     182        $this->unit->set_test_items(array('test_name', 'result')); 
     183</code> 
     184 
     185<h3>Creating a Template</h3> 
    165186 
    166187<p>If you would like your test results formatted differently then the default you can set your own template.  Here is an 
     
    199220Next Topic:&nbsp;&nbsp;<a href="uri.html">URI Class</a> 
    200221</p> 
    201 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     222<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    202223</div> 
    203224 
    
          
  • TabularUnified libraries/uri.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    195195 
    196196 
    197 <h2>$this->uri->ruri_string(<var>n</var>)</h2> 
     197<h2>$this->uri->ruri_string()</h2> 
    198198 
    199199<p>This function is identical to the previous one, except that it returns the 
     
    246246Next Topic:&nbsp;&nbsp;<a href="user_agent.html">User Agent Class</a> 
    247247</p> 
    248 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     248<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    249249</div> 
    250250 
    
          
  • TabularUnified libraries/user_agent.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    195195Next Topic:&nbsp;&nbsp;<a href="xmlrpc.html">XML-RPC Class</a> 
    196196</p> 
    197 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     197<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    198198</div> 
    199199 
    
          
  • TabularUnified libraries/validation.html

    r1 r2  
    2828<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    2929<tr> 
    30 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     30<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3131<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3232</tr> 
     
    734734Next Topic:&nbsp;&nbsp;<a href="xmlrpc.html">XML-RPC Class</a> 
    735735</p> 
    736 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     736<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    737737</div> 
    738738 
    
          
  • TabularUnified libraries/xmlrpc.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    201201<p>The function names in the above example are arbitrary.  You'll decide what they should be called on your server, 
    202202or if you are using standardized APIs, like the Blogger or MetaWeblog API, you'll use their function names.</p> 
     203 
     204<p>There are two additional configuration keys you may make use of when initializing the server class: <var>debug</var> can be set to TRUE in order to enable debugging, and <var>xss_clean</var> may be set to FALSE to prevent sending data through the Security library's xss_clean function. 
    203205         
    204206<h2>Processing Server Requests</h2> 
     
    511513Next Topic:&nbsp;&nbsp;<a href="zip.html">Zip Encoding Class</a> 
    512514</p> 
    513 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     515<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    514516</div> 
    515517 
    
          
  • TabularUnified libraries/zip.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    272272Next Topic:&nbsp;&nbsp;<a href="../helpers/array_helper.html">Array Helper</a> 
    273273</p> 
    274 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     274<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    275275</div> 
    276276 
    
          
  • TabularUnified license.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    6161<h1>CodeIgniter License Agreement</h1> 
    6262 
    63 <p>Copyright (c) 2008 - 2009, EllisLab, Inc.<br /> 
     63<p>Copyright (c) 2008 - 2010, EllisLab, Inc.<br /> 
    6464All rights reserved.</p> 
    6565 
     
    101101Next Topic:&nbsp;&nbsp;<a href="changelog.html">Change Log</a> 
    102102</p> 
    103 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     103<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    104104</div> 
    105105 
    
          
  • TabularUnified nav/nav.js

    r1 r2  
    5050                        '<li><a href="'+base+'general/models.html">Models</a></li>' + 
    5151                        '<li><a href="'+base+'general/helpers.html">Helpers</a></li>' + 
    52                         '<li><a href="'+base+'general/plugins.html">Plugins</a></li>' + 
    5352                        '<li><a href="'+base+'general/libraries.html">Using CodeIgniter Libraries</a></li>' + 
    5453                        '<li><a href="'+base+'general/creating_libraries.html">Creating Your Own Libraries</a></li>' + 
     
    5756                        '<li><a href="'+base+'general/autoloader.html">Auto-loading Resources</a></li>' + 
    5857                        '<li><a href="'+base+'general/common_functions.html">Common Functions</a></li>' + 
    59                         '<li><a href="'+base+'general/scaffolding.html">Scaffolding</a></li>' + 
    6058                        '<li><a href="'+base+'general/routing.html">URI Routing</a></li>' + 
    6159                        '<li><a href="'+base+'general/errors.html">Error Handling</a></li>' + 
     
    9189                '<li><a href="'+base+'libraries/output.html">Output Class</a></li>' + 
    9290                '<li><a href="'+base+'libraries/pagination.html">Pagination Class</a></li>' + 
     91                '<li><a href="'+base+'libraries/security.html">Security Class</a></li>' + 
    9392                '<li><a href="'+base+'libraries/sessions.html">Session Class</a></li>' + 
    9493                '<li><a href="'+base+'libraries/trackback.html">Trackback Class</a></li>' + 
    
          
  • TabularUnified overview/appflow.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    6969<li>If a cache file exists, it is sent directly to the browser, bypassing the normal system execution.</li> 
    7070<li>Security.  Before the application controller is loaded, the HTTP request and any user submitted data is filtered for security.</li> 
    71 <li>The Controller loads the model, core libraries, plugins, helpers, and any other resources needed to process the specific request.</li> 
     71<li>The Controller loads the model, core libraries, helpers, and any other resources needed to process the specific request.</li> 
    7272<li>The finalized View is rendered then sent to the web browser to be seen. If caching is enabled, the view is cached first so 
    7373that on subsequent requests it can be served.</li> 
     
    8989Next Topic:&nbsp;&nbsp;<a href="mvc.html">Model-View-Controller</a> 
    9090</p> 
    91 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     91<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9292</div> 
    9393 
    
          
  • TabularUnified overview/at_a_glance.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    6161<h2>CodeIgniter is an Application Framework</h2> 
    6262 
    63 <p>CodeIgniter is a toolkit for people who build web application using PHP.  Its goal is to enable you to develop projects much faster than you could if you were writing code 
     63<p>CodeIgniter is a toolkit for people who build web applications using PHP.  Its goal is to enable you to develop projects much faster than you could if you were writing code 
    6464from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and 
    6565logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by 
     
    108108 
    109109<h2>CodeIgniter is Extensible</h2> 
    110 <p>The system can be easily extended through the use of plugins and helper libraries, or through class extensions or system hooks.</p> 
     110<p>The system can be easily extended through the use of your own libraries, helpers, or through class extensions or system hooks.</p> 
    111111 
    112112 
     
    166166Next Topic:&nbsp;&nbsp;<a href="cheatsheets.html">CodeIgniter Cheatsheets</a> 
    167167</p> 
    168 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     168<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    169169</div> 
    170170 
    
          
  • TabularUnified overview/cheatsheets.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7777Next Topic:&nbsp;&nbsp;<a href="features.html">CodeIgniter Features</a> 
    7878</p> 
    79 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     79<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    8080</div> 
    8181 
    
          
  • TabularUnified overview/features.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8585<li>Error Logging</li> 
    8686<li>Application Profiling</li> 
    87 <li>Scaffolding</li> 
    8887<li>Calendaring Class</li> 
    8988<li>User Agent Class</li> 
     
    9594<li>Search-engine Friendly URLs</li> 
    9695<li>Flexible URI Routing</li> 
    97 <li>Support for Hooks, Class Extensions, and Plugins</li> 
     96<li>Support for Hooks and Class Extensions</li> 
    9897<li>Large library of "helper" functions</li> 
    9998</ul> 
     
    114113Next Topic:&nbsp;&nbsp;<a href="appflow.html">Application Flow Chart</a> 
    115114</p> 
    116 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     115<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    117116</div> 
    118117 
    
          
  • TabularUnified overview/getting_started.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    8686Next Topic:&nbsp;&nbsp;<a href="at_a_glance.html">CodeIgniter At a Glance</a> 
    8787</p> 
    88 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     88<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    8989</div> 
    9090 
    
          
  • TabularUnified overview/goals.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9292Next Topic:&nbsp;&nbsp;<a href="./getting_started.html">Getting Started</a> 
    9393</p> 
    94 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     94<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9595</div> 
    9696 
    
          
  • TabularUnified overview/index.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    7878<div id="footer"> 
    7979<p><a href="#top">Top of Page</a> &nbsp;&middot;&nbsp; <a href="../index.html">User Guide Home</a></p> 
    80 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     80<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    8181</div> 
    8282 
    
          
  • TabularUnified overview/mvc.html

    r1 r2  
    2929<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3030<tr> 
    31 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     31<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3232<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td> 
    3333</tr> 
     
    9494Next Topic:&nbsp;&nbsp;<a href="goals.html">Architectural Goals</a> 
    9595</p> 
    96 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     96<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    9797</div> 
    9898 
    
          
  • TabularUnified toc.html

    r1 r2  
    3030<table cellpadding="0" cellspacing="0" border="0" style="width:100%"> 
    3131<tr> 
    32 <td><h1>CodeIgniter User Guide Version 1.7.2</h1></td> 
     32<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td> 
    3333</tr> 
    3434</table> 
     
    7575        <li><a href="./installation/downloads.html">Downloading CodeIgniter </a></li> 
    7676        <li><a href="./installation/index.html">Installation Instructions</a></li> 
    77         <li><a href="./installation/upgrading.html">Upgrading from an Previous Version</a></li> 
     77        <li><a href="./installation/upgrading.html">Upgrading from a Previous Version</a></li> 
    7878        <li><a href="./installation/troubleshooting.html">Troubleshooting</a></li> 
    7979</ul> 
     
    9898        <li><a href="./general/urls.html">CodeIgniter URLs</a></li> 
    9999        <li><a href="./general/controllers.html">Controllers</a></li> 
    100         <li><a href="general/reserved_names.html">Reserved Names</a></li> 
     100        <li><a href="./general/reserved_names.html">Reserved Names</a></li> 
    101101        <li><a href="./general/views.html">Views</a></li> 
    102102        <li><a href="./general/models.html">Models</a></li> 
    103103        <li><a href="./general/helpers.html">Helpers</a></li> 
    104         <li><a href="./general/plugins.html">Plugins</a></li> 
    105104        <li><a href="./general/libraries.html">Using CodeIgniter Libraries</a></li> 
    106105        <li><a href="./general/creating_libraries.html">Creating Your Own Libraries</a></li> 
     
    108107        <li><a href="./general/hooks.html">Hooks - Extending the Core</a></li> 
    109108        <li><a href="./general/autoloader.html">Auto-loading Resources</a></li> 
    110         <li><a href="general/common_functions.html">Common Functions</a></li> 
    111         <li><a href="./general/scaffolding.html">Scaffolding</a></li> 
     109        <li><a href="./general/common_functions.html">Common Functions</a></li> 
    112110        <li><a href="./general/routing.html">URI Routing</a></li> 
    113111        <li><a href="./general/errors.html">Error Handling</a></li> 
     
    144142<li><a href="./libraries/output.html">Output Class</a></li> 
    145143<li><a href="./libraries/pagination.html">Pagination Class</a></li> 
     144<li><a href="./libraries/security.html">Security Class</a></li> 
    146145<li><a href="./libraries/sessions.html">Session Class</a></li> 
    147146<li><a href="./libraries/trackback.html">Trackback Class</a></li> 
     
    202201<div id="footer"> 
    203202<p><a href="#top">Top of Page</a></p> 
    204 <p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2009 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
     203<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006-2010 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">Ellislab, Inc.</a></p> 
    205204</div> 
    206205 
    
          
  • TabularUnified userguide.css

    r1 r2  
    1313 text-decoration: none; 
    1414 font-weight: normal; 
     15 outline-style: none; 
    1516} 
    1617a:visited { 
     
    1819 background-color: transparent; 
    1920 text-decoration: none; 
     21 outline-style: none; 
    2022} 
    2123a:hover { 
     
    2325 text-decoration: none; 
    2426 background-color: transparent; 
     27 outline-style: none; 
    2528} 
    2629 
     
    97100 text-decoration: none; 
    98101 font-weight: normal; 
     102 outline-style: none; 
    99103} 
    100104 
     
    103107 background-color: transparent; 
    104108 text-decoration: none; 
     109 outline-style: none; 
    105110} 
    106111 
     
    109114 text-decoration: none; 
    110115 background-color: transparent; 
     116 outline-style: none; 
    111117} 
    112118