Permalink
Browse files

add all API

  • Loading branch information...
1 parent 3e94d0a commit 7dfc73c5b02e2c2e509a62b084468c0971d6bb21 @emad-elsaid committed Mar 11, 2011
Showing with 0 additions and 47,252 deletions.
  1. +0 −1,233 user_guide ci/changelog.html
  2. +0 −757 user_guide ci/database/active_record.html
  3. +0 −220 user_guide ci/database/caching.html
  4. +0 −118 user_guide ci/database/call_function.html
  5. +0 −166 user_guide ci/database/configuration.html
  6. +0 −188 user_guide ci/database/connecting.html
  7. +0 −217 user_guide ci/database/examples.html
  8. +0 −163 user_guide ci/database/fields.html
  9. +0 −234 user_guide ci/database/forge.html
  10. +0 −151 user_guide ci/database/helpers.html
  11. +0 −99 user_guide ci/database/index.html
  12. +0 −153 user_guide ci/database/queries.html
  13. +0 −238 user_guide ci/database/results.html
  14. +0 −113 user_guide ci/database/table_data.html
  15. +0 −200 user_guide ci/database/transactions.html
  16. +0 −314 user_guide ci/database/utilities.html
  17. +0 −87 user_guide ci/doc_style/index.html
  18. +0 −128 user_guide ci/doc_style/template.html
  19. +0 −147 user_guide ci/general/alternative_php.html
  20. +0 −117 user_guide ci/general/ancillary_classes.html
  21. +0 −100 user_guide ci/general/autoloader.html
  22. +0 −115 user_guide ci/general/caching.html
  23. +0 −125 user_guide ci/general/common_functions.html
  24. +0 −388 user_guide ci/general/controllers.html
  25. +0 −186 user_guide ci/general/core_classes.html
  26. +0 −100 user_guide ci/general/creating_drivers.html
  27. +0 −293 user_guide ci/general/creating_libraries.html
  28. +0 −86 user_guide ci/general/credits.html
  29. +0 −104 user_guide ci/general/drivers.html
  30. +0 −140 user_guide ci/general/errors.html
  31. +0 −185 user_guide ci/general/helpers.html
  32. +0 −165 user_guide ci/general/hooks.html
  33. +0 −98 user_guide ci/general/libraries.html
  34. +0 −133 user_guide ci/general/managing_apps.html
  35. +0 −251 user_guide ci/general/models.html
  36. +0 −176 user_guide ci/general/profiling.html
  37. +0 −77 user_guide ci/general/quick_reference.html
  38. +0 −82 user_guide ci/general/requirements.html
  39. +0 −127 user_guide ci/general/reserved_names.html
  40. +0 −166 user_guide ci/general/routing.html
  41. +0 −153 user_guide ci/general/security.html
  42. +0 −679 user_guide ci/general/styleguide.html
  43. +0 −151 user_guide ci/general/urls.html
  44. +0 −274 user_guide ci/general/views.html
  45. +0 −170 user_guide ci/helpers/array_helper.html
  46. +0 −195 user_guide ci/helpers/captcha_helper.html
  47. +0 −107 user_guide ci/helpers/cookie_helper.html
  48. +0 −408 user_guide ci/helpers/date_helper.html
  49. +0 −143 user_guide ci/helpers/directory_helper.html
  50. +0 −112 user_guide ci/helpers/download_helper.html
  51. +0 −102 user_guide ci/helpers/email_helper.html
  52. +0 −179 user_guide ci/helpers/file_helper.html
  53. +0 −484 user_guide ci/helpers/form_helper.html
  54. +0 −385 user_guide ci/helpers/html_helper.html
  55. +0 −151 user_guide ci/helpers/inflector_helper.html
  56. +0 −98 user_guide ci/helpers/language_helper.html
  57. +0 −113 user_guide ci/helpers/number_helper.html
  58. +0 −106 user_guide ci/helpers/path_helper.html
  59. +0 −132 user_guide ci/helpers/security_helper.html
  60. +0 −215 user_guide ci/helpers/smiley_helper.html
  61. +0 −178 user_guide ci/helpers/string_helper.html
  62. +0 −211 user_guide ci/helpers/text_helper.html
  63. +0 −112 user_guide ci/helpers/typography_helper.html
  64. +0 −288 user_guide ci/helpers/url_helper.html
  65. +0 −105 user_guide ci/helpers/xml_helper.html
  66. BIN user_guide ci/images/appflowchart.gif
  67. BIN user_guide ci/images/arrow.gif
  68. BIN user_guide ci/images/ci_logo.jpg
  69. BIN user_guide ci/images/ci_logo_flame.jpg
  70. BIN user_guide ci/images/ci_quick_ref.png
  71. BIN user_guide ci/images/codeigniter_1.7.1_helper_reference.pdf
  72. BIN user_guide ci/images/codeigniter_1.7.1_helper_reference.png
  73. BIN user_guide ci/images/codeigniter_1.7.1_library_reference.pdf
  74. BIN user_guide ci/images/codeigniter_1.7.1_library_reference.png
  75. BIN user_guide ci/images/file.gif
  76. BIN user_guide ci/images/folder.gif
  77. BIN user_guide ci/images/nav_bg_darker.jpg
  78. BIN user_guide ci/images/nav_separator_darker.jpg
  79. BIN user_guide ci/images/nav_toggle_darker.jpg
  80. BIN user_guide ci/images/reactor-bullet.png
  81. BIN user_guide ci/images/smile.gif
  82. BIN user_guide ci/images/transparent.gif
  83. +0 −99 user_guide ci/index.html
  84. +0 −109 user_guide ci/installation/downloads.html
  85. +0 −102 user_guide ci/installation/index.html
  86. +0 −90 user_guide ci/installation/troubleshooting.html
  87. +0 −92 user_guide ci/installation/upgrade_120.html
  88. +0 −203 user_guide ci/installation/upgrade_130.html
  89. +0 −102 user_guide ci/installation/upgrade_131.html
  90. +0 −100 user_guide ci/installation/upgrade_132.html
  91. +0 −112 user_guide ci/installation/upgrade_133.html
  92. +0 −145 user_guide ci/installation/upgrade_140.html
  93. +0 −148 user_guide ci/installation/upgrade_141.html
  94. +0 −178 user_guide ci/installation/upgrade_150.html
  95. +0 −111 user_guide ci/installation/upgrade_152.html
  96. +0 −100 user_guide ci/installation/upgrade_153.html
  97. +0 −116 user_guide ci/installation/upgrade_154.html
  98. +0 −125 user_guide ci/installation/upgrade_160.html
  99. +0 −98 user_guide ci/installation/upgrade_161.html
  100. +0 −106 user_guide ci/installation/upgrade_162.html
  101. +0 −99 user_guide ci/installation/upgrade_163.html
  102. +0 −121 user_guide ci/installation/upgrade_170.html
  103. +0 −98 user_guide ci/installation/upgrade_171.html
  104. +0 −109 user_guide ci/installation/upgrade_172.html
  105. +0 −131 user_guide ci/installation/upgrade_200.html
  106. +0 −144 user_guide ci/installation/upgrade_b11.html
  107. +0 −102 user_guide ci/installation/upgrading.html
  108. +0 −198 user_guide ci/libraries/benchmark.html
  109. +0 −193 user_guide ci/libraries/caching.html
  110. +0 −249 user_guide ci/libraries/calendar.html
  111. +0 −346 user_guide ci/libraries/cart.html
  112. +0 −181 user_guide ci/libraries/config.html
  113. +0 −307 user_guide ci/libraries/email.html
  114. +0 −224 user_guide ci/libraries/encryption.html
  115. +0 −451 user_guide ci/libraries/file_uploading.html
  116. +0 −1,218 user_guide ci/libraries/form_validation.html
  117. +0 −316 user_guide ci/libraries/ftp.html
  118. +0 −667 user_guide ci/libraries/image_lib.html
  119. +0 −269 user_guide ci/libraries/input.html
  120. +0 −246 user_guide ci/libraries/javascript.html
  121. +0 −137 user_guide ci/libraries/language.html
  122. +0 −255 user_guide ci/libraries/loader.html
  123. +0 −162 user_guide ci/libraries/output.html
  124. +0 −229 user_guide ci/libraries/pagination.html
  125. +0 −212 user_guide ci/libraries/parser.html
  126. +0 −135 user_guide ci/libraries/security.html
  127. +0 −322 user_guide ci/libraries/sessions.html
  128. +0 −315 user_guide ci/libraries/table.html
  129. +0 −246 user_guide ci/libraries/trackback.html
  130. +0 −160 user_guide ci/libraries/typography.html
  131. +0 −226 user_guide ci/libraries/unit_testing.html
  132. +0 −252 user_guide ci/libraries/uri.html
  133. +0 −226 user_guide ci/libraries/user_agent.html
  134. +0 −519 user_guide ci/libraries/xmlrpc.html
  135. +0 −288 user_guide ci/libraries/zip.html
  136. +0 −107 user_guide ci/license.html
  137. +0 −10 user_guide ci/nav/hacks.txt
  138. +0 −83 user_guide ci/nav/moo.fx.js
  139. +0 −142 user_guide ci/nav/nav.js
  140. +0 −127 user_guide ci/nav/prototype.lite.js
  141. +0 −4 user_guide ci/nav/user_guide_menu.js
  142. +0 −95 user_guide ci/overview/appflow.html
  143. +0 −162 user_guide ci/overview/at_a_glance.html
  144. +0 −83 user_guide ci/overview/cheatsheets.html
  145. +0 −118 user_guide ci/overview/features.html
  146. +0 −92 user_guide ci/overview/getting_started.html
  147. +0 −98 user_guide ci/overview/goals.html
  148. +0 −84 user_guide ci/overview/index.html
  149. +0 −100 user_guide ci/overview/mvc.html
  150. +0 −208 user_guide ci/toc.html
  151. +0 −415 user_guide ci/userguide.css
  152. +0 −700 user_guide dmz/css/userguide.css
  153. BIN user_guide dmz/images/arrow.gif
  154. BIN user_guide dmz/images/dmz.png
  155. BIN user_guide dmz/images/dmzlogo.png
  156. BIN user_guide dmz/images/download.png
  157. BIN user_guide dmz/images/example.png
  158. BIN user_guide dmz/images/favicon.png
  159. BIN user_guide dmz/images/feed.png
  160. BIN user_guide dmz/images/nav_bg_darker.jpg
  161. BIN user_guide dmz/images/nav_separator_darker.jpg
  162. BIN user_guide dmz/images/nav_toggle_darker.jpg
  163. BIN user_guide dmz/images/nestedsets.gif
  164. BIN user_guide dmz/images/searchlogo.png
  165. +0 −125 user_guide dmz/index.html
  166. +0 −223 user_guide dmz/js/menu.js
  167. +0 −495 user_guide dmz/js/mootools.js
  168. +0 −62 user_guide dmz/js/rot13.js
  169. +0 −154 user_guide dmz/pages/_template.html
  170. +0 −282 user_guide dmz/pages/accessingrelations.html
  171. +0 −487 user_guide dmz/pages/advancedrelations.html
  172. +0 −375 user_guide dmz/pages/changelog.html
  173. +0 −119 user_guide dmz/pages/changelog/1.2.html
  174. +0 −161 user_guide dmz/pages/changelog/1.3.html
  175. +0 −207 user_guide dmz/pages/changelog/1.4.html
  176. +0 −241 user_guide dmz/pages/changelog/1.5.html
  177. +0 −93 user_guide dmz/pages/clear.html
  178. +0 −158 user_guide dmz/pages/clonecopy.html
  179. +0 −243 user_guide dmz/pages/config.html
  180. +0 −97 user_guide dmz/pages/controllers.html
  181. +0 −213 user_guide dmz/pages/count.html
  182. +0 −146 user_guide dmz/pages/credits.html
  183. +0 −255 user_guide dmz/pages/database.html
  184. +0 −221 user_guide dmz/pages/delete.html
  185. +0 −114 user_guide dmz/pages/deleteall.html
  186. +0 −94 user_guide dmz/pages/deletingrelations.html
  187. +0 −164 user_guide dmz/pages/download.html
  188. +0 −119 user_guide dmz/pages/examples.html
  189. +0 −386 user_guide dmz/pages/examples/htmlform.html
  190. +0 −443 user_guide dmz/pages/examples/login.html
  191. +0 −93 user_guide dmz/pages/exists.html
  192. +0 −222 user_guide dmz/pages/extensions.html
  193. +0 −177 user_guide dmz/pages/extensions/array.html
  194. +0 −145 user_guide dmz/pages/extensions/csv.html
  195. +0 −780 user_guide dmz/pages/extensions/htmlform.html
  196. +0 −147 user_guide dmz/pages/extensions/json.html
  197. +0 −751 user_guide dmz/pages/extensions/nestedsets.html
  198. +0 −174 user_guide dmz/pages/extensions/rowindex.html
  199. +0 −136 user_guide dmz/pages/extensions/simplecache.html
  200. +0 −108 user_guide dmz/pages/extensions/translate.html
  201. +0 −126 user_guide dmz/pages/extlist.html
  202. +0 −288 user_guide dmz/pages/extwrite.html
  203. +0 −296 user_guide dmz/pages/functions.html
  204. +0 −791 user_guide dmz/pages/get.html
  205. +0 −447 user_guide dmz/pages/getadvanced.html
  206. +0 −339 user_guide dmz/pages/getalt.html
  207. +0 −233 user_guide dmz/pages/getby.html
  208. +0 −144 user_guide dmz/pages/getrules.html
  209. +0 −745 user_guide dmz/pages/gettingstarted.html
  210. +0 −200 user_guide dmz/pages/glossary.html
  211. +0 −125 user_guide dmz/pages/installation.html
  212. +0 −159 user_guide dmz/pages/joinfields.html
  213. +0 −114 user_guide dmz/pages/license.html
  214. +0 −264 user_guide dmz/pages/localize.html
  215. +0 −163 user_guide dmz/pages/manual.html
  216. +0 −208 user_guide dmz/pages/models.html
  217. +0 −441 user_guide dmz/pages/prefix.html
  218. +0 −162 user_guide dmz/pages/prodcache.html
  219. +0 −118 user_guide dmz/pages/refreshall.html
  220. +0 −337 user_guide dmz/pages/relationtypes.html
  221. +0 −130 user_guide dmz/pages/requirements.html
  222. +0 −330 user_guide dmz/pages/reservednames.html
  223. +0 −111 user_guide dmz/pages/roadmap.html
  224. +0 −344 user_guide dmz/pages/save.html
  225. +0 −94 user_guide dmz/pages/savingrelations.html
  226. +0 −211 user_guide dmz/pages/settingrelations.html
  227. +0 −187 user_guide dmz/pages/subqueries.html
  228. +0 −169 user_guide dmz/pages/timestamp.html
  229. +0 −85 user_guide dmz/pages/toc.html
  230. +0 −161 user_guide dmz/pages/transactions.html
  231. +0 −400 user_guide dmz/pages/troubleshooting.html
  232. +0 −180 user_guide dmz/pages/update.html
  233. +0 −314 user_guide dmz/pages/upgrade.html
  234. +0 −291 user_guide dmz/pages/utility.html
  235. +0 −94 user_guide dmz/pages/validate.html
  236. +0 −746 user_guide dmz/pages/validation.html
  237. +0 −2 user_guide dmz/robots.txt
  238. BIN userguide ion-auth/images/arrow.gif
  239. BIN userguide ion-auth/images/nav_bg_darker.jpg
  240. BIN userguide ion-auth/images/nav_separator_darker.jpg
  241. BIN userguide ion-auth/images/nav_toggle_darker.jpg
  242. +0 −1,195 userguide ion-auth/index.html
  243. +0 −24 userguide ion-auth/js/functions.js
  244. +0 −154 userguide ion-auth/js/jquery.min.js
  245. +0 −412 userguide ion-auth/userguide.css
View

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,220 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Database Caching Class : CodeIgniter User Guide</title>
-
-<style type='text/css' media='all'>@import url('../userguide.css');</style>
-<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
-
-<script type="text/javascript" src="../nav/nav.js"></script>
-<script type="text/javascript" src="../nav/prototype.lite.js"></script>
-<script type="text/javascript" src="../nav/moo.fx.js"></script>
-<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
-
-<meta http-equiv='expires' content='-1' />
-<meta http-equiv= 'pragma' content='no-cache' />
-<meta name='robots' content='all' />
-<meta name='author' content='ExpressionEngine Dev Team' />
-<meta name='description' content='CodeIgniter User Guide' />
-
-</head>
-<body>
-
-<!-- START NAVIGATION -->
-<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
-<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>
-<div id="masthead">
-<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
-<tr>
-<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td>
-<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
-</tr>
-</table>
-</div>
-<!-- END NAVIGATION -->
-
-
-<!-- START BREADCRUMB -->
-<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
-<tr>
-<td id="breadcrumb">
-<a href="http://codeigniter.com/">CodeIgniter Home</a> &nbsp;&#8250;&nbsp;
-<a href="../index.html">User Guide Home</a> &nbsp;&#8250;&nbsp;
-<a href="index.html">Database Library</a> &nbsp;&#8250;&nbsp;
-Database Caching Class
-</td>
-<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>
-</tr>
-</table>
-<!-- END BREADCRUMB -->
-
-
-<br clear="all" />
-
-
-<!-- START CONTENT -->
-<div id="content">
-
-<h1>Database Caching Class</h1>
-
-<p>The Database Caching Class permits you to cache your queries as text files for reduced database load.</p>
-
-<p class="important"><strong>Important:</strong>&nbsp; This class is initialized automatically by the database driver
-when caching is enabled. Do NOT load this class manually.<br /><br />
-
-<strong>Also note:</strong>&nbsp; Not all query result functions are available when you use caching. Please read this page carefully.</p>
-
-<h2>Enabling Caching</h2>
-
-<p>Caching is enabled in three steps:</p>
-
-<ul>
-<li>Create a writable directory on your server where the cache files can be stored.</li>
-<li>Set the path to your cache folder in your <dfn>application/config/database.php</dfn> file.</li>
-<li>Enable the caching feature, either globally by setting the preference in your <dfn>application/config/database.php</dfn> file, or manually as described below.</li>
-</ul>
-
-<p>Once enabled, caching will happen automatically whenever a page is loaded that contains database queries.</p>
-
-
-<h2>How Does Caching Work?</h2>
-
-<p>CodeIgniter's query caching system happens dynamically when your pages are viewed.
-When caching is enabled, the first time a web page is loaded, the query result object will
-be serialized and stored in a text file on your server. The next time the page is loaded the cache file will be used instead of
-accessing your database. Your database usage can effectively be reduced to zero for any pages that have been cached.</p>
-
-<p>Only <dfn>read-type</dfn> (SELECT) queries can be cached, since these are the only type of queries that produce a result.
-<dfn>Write-type</dfn> (INSERT, UPDATE, etc.) queries, since they don't generate a result, will not be cached by the system.</p>
-
-<p>Cache files DO NOT expire. Any queries that have been cached will remain cached until you delete them. The caching system
-permits you clear caches associated with individual pages, or you can delete the entire collection of cache files.
-Typically you'll want to use the housekeeping functions described below to delete cache files after certain
-events take place, like when you've added new information to your database.</p>
-
-<h2>Will Caching Improve Your Site's Performance?</h2>
-
-<p>Getting a performance gain as a result of caching depends on many factors.
-If you have a highly optimized database under very little load, you probably won't see a performance boost.
-If your database is under heavy use you probably will see an improved response, assuming your file-system is not
-overly taxed. Remember that caching simply changes how your information is retrieved, shifting it from being a database
-operation to a file-system one.</p>
-
-<p>In some clustered server environments, for example, caching may be detrimental since file-system operations are so intense.
-On single servers in shared environments, caching will probably be beneficial. Unfortunately there is no
-single answer to the question of whether you should cache your database. It really depends on your situation.</p>
-
-<h2>How are Cache Files Stored?</h2>
-
-<p>CodeIgniter places the result of EACH query into its own cache file. Sets of cache files are further organized into
-sub-folders corresponding to your controller functions. To be precise, the sub-folders are named identically to the
-first two segments of your URI (the controller class name and function name).</p>
-
-<p>For example, let's say you have a controller called <dfn>blog</dfn> with a function called <dfn>comments</dfn> that
-contains three queries. The caching system will create a cache folder
-called <kbd>blog+comments</kbd>, into which it will write three cache files.</p>
-
-<p>If you use dynamic queries that change based on information in your URI (when using pagination, for example), each instance of
-the query will produce its own cache file. It's possible, therefore, to end up with many times more cache files than you have
-queries.</p>
-
-
-<h2>Managing your Cache Files</h2>
-
-<p>Since cache files do not expire, you'll need to build deletion routines into your application. For example, let's say you have a blog
-that allows user commenting. Whenever a new comment is submitted you'll want to delete the cache files associated with the
-controller function that serves up your comments. You'll find two delete functions described below that help you
-clear data.</p>
-
-
-<h2>Not All Database Functions Work with Caching</h2>
-
-<p>Lastly, we need to point out that the result object that is cached is a simplified version of the full result object. For that reason,
-some of the query result functions are not available for use.</p>
-
-<p>The following functions <kbd>ARE NOT</kbd> available when using a cached result object:</p>
-
-<ul>
-<li>num_fields()</li>
-<li>field_names()</li>
-<li>field_data()</li>
-<li>free_result()</li>
-</ul>
-
-<p>Also, the two database resources (result_id and conn_id) are not available when caching, since result resources only
-pertain to run-time operations.</p>
-
-
-<br />
-
-<h1>Function Reference</h1>
-
-
-
-<h2>$this->db->cache_on()&nbsp; / &nbsp; $this->db->cache_off()</h2>
-
-<p>Manually enables/disables caching. This can be useful if you want to
-keep certain queries from being cached. Example:</p>
-
-<code>
-// Turn caching on<br />
-$this->db->cache_on();<br />
-$query = $this->db->query("SELECT * FROM mytable");<br />
-<br />
-// Turn caching off for this one query<br />
-$this->db->cache_off();<br />
-$query = $this->db->query("SELECT * FROM members WHERE member_id = '$current_user'");<br />
-<br />
-// Turn caching back on<br />
-$this->db->cache_on();<br />
-$query = $this->db->query("SELECT * FROM another_table");
-</code>
-
-
-<h2>$this->db->cache_delete()</h2>
-
-<p>Deletes the cache files associated with a particular page. This is useful if you need to clear caching after you update your database.</p>
-
-<p>The caching system saves your cache files to folders that correspond to the URI of the page you are viewing. For example, if you are viewing
-a page at <dfn>example.com/index.php/blog/comments</dfn>, the caching system will put all cache files associated with it in a folder
-called <dfn>blog+comments</dfn>. To delete those particular cache files you will use:</p>
-
-<code>$this->db->cache_delete('blog', 'comments');</code>
-
-<p>If you do not use any parameters the current URI will be used when determining what should be cleared.</p>
-
-
-<h2>$this->db->cache_delete_all()</h2>
-
-<p>Clears all existing cache files. Example:</p>
-
-<code>$this->db->cache_delete_all();</code>
-
-
-
-
-
-
-
-
-
-
-</div>
-<!-- END CONTENT -->
-
-
-<div id="footer">
-<p>
-Previous Topic:&nbsp;&nbsp;<a href="call_function.html">Custom Function Calls</a>
-&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
-<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
-<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
-Next Topic:&nbsp;&nbsp;<a href="forge.html">Database manipulation with Database Forge</a>
-</p>
-<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006 - 2011 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">EllisLab, Inc.</a></p>
-</div>
-
-</body>
-</html>
@@ -1,118 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Custom Function Calls : CodeIgniter User Guide</title>
-
-<style type='text/css' media='all'>@import url('../userguide.css');</style>
-<link rel='stylesheet' type='text/css' media='all' href='../userguide.css' />
-
-<script type="text/javascript" src="../nav/nav.js"></script>
-<script type="text/javascript" src="../nav/prototype.lite.js"></script>
-<script type="text/javascript" src="../nav/moo.fx.js"></script>
-<script type="text/javascript" src="../nav/user_guide_menu.js"></script>
-
-<meta http-equiv='expires' content='-1' />
-<meta http-equiv= 'pragma' content='no-cache' />
-<meta name='robots' content='all' />
-<meta name='author' content='ExpressionEngine Dev Team' />
-<meta name='description' content='CodeIgniter User Guide' />
-
-</head>
-<body>
-
-<!-- START NAVIGATION -->
-<div id="nav"><div id="nav_inner"><script type="text/javascript">create_menu('../');</script></div></div>
-<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>
-<div id="masthead">
-<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
-<tr>
-<td><h1>CodeIgniter User Guide Version 2.0.0</h1></td>
-<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
-</tr>
-</table>
-</div>
-<!-- END NAVIGATION -->
-
-
-<!-- START BREADCRUMB -->
-<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
-<tr>
-<td id="breadcrumb">
-<a href="http://codeigniter.com/">CodeIgniter Home</a> &nbsp;&#8250;&nbsp;
-<a href="../index.html">User Guide Home</a> &nbsp;&#8250;&nbsp;
-<a href="index.html">Database Library</a> &nbsp;&#8250;&nbsp;
-Custom Function Calls
-</td>
-<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>
-</tr>
-</table>
-<!-- END BREADCRUMB -->
-
-
-<br clear="all" />
-
-
-<!-- START CONTENT -->
-<div id="content">
-
-<h1>Custom Function Calls</h1>
-
-<h2>$this->db->call_function();</h2>
-
-<p>This function enables you to call PHP database functions that are not natively included in CodeIgniter, in a platform independent manner.
-For example, lets say you want to call the <dfn>mysql_get_client_info()</dfn> function, which is <strong>not</strong> natively supported
-by CodeIgniter. You could do so like this:
-</p>
-
-<code>$this->db->call_function('<var>get_client_info</var>');</code>
-
-<p>You must supply the name of the function, <strong>without</strong> the <var>mysql_</var> prefix, in the first parameter. The prefix is added
-automatically based on which database driver is currently being used. This permits you to run the same function on different database platforms.
-Obviously not all function calls are identical between platforms, so there are limits to how useful this function can be in terms of portability.</p>
-
-<p>Any parameters needed by the function you are calling will be added to the second parameter.</p>
-
-<code>$this->db->call_function('<var>some_function</var>', $param1, $param2, etc..);</code>
-
-
-<p>Often, you will either need to supply a database connection ID or a database result ID. The connection ID can be accessed using:</p>
-
-<code>$this->db->conn_id;</code>
-
-<p>The result ID can be accessed from within your result object, like this:</p>
-
-<code>$query = $this->db->query("SOME QUERY");<br />
-<br />
-<var>$query->result_id;</var></code>
-
-
-
-
-
-
-
-
-
-
-
-
-
-</div>
-<!-- END CONTENT -->
-
-
-<div id="footer">
-<p>
-Previous Topic:&nbsp;&nbsp;<a href="fields.html">Field MetaData</a>
-&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
-<a href="#top">Top of Page</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
-<a href="../index.html">User Guide Home</a>&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;
-Next Topic:&nbsp;&nbsp;<a href="caching.html">Query Caching</a>
-</p>
-<p><a href="http://codeigniter.com">CodeIgniter</a> &nbsp;&middot;&nbsp; Copyright &#169; 2006 - 2011 &nbsp;&middot;&nbsp; <a href="http://ellislab.com/">EllisLab, Inc.</a></p>
-</div>
-
-</body>
-</html>
Oops, something went wrong.

0 comments on commit 7dfc73c

Please sign in to comment.