codeigniter_vender 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -0
- data/MIT-LICENSE +20 -0
- data/README +40 -0
- data/Rakefile +18 -0
- data/VERSION +1 -0
- data/codeigniter_vender.gemspec +389 -0
- data/generators/ci_app/USAGE +8 -0
- data/generators/ci_app/ci_app_generator.rb +12 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/index.php +118 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/license.txt +52 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/autoload.php +116 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/config.php +329 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/constants.php +41 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/database.php +55 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/doctypes.php +15 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/hooks.php +16 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/mimes.php +105 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/routes.php +48 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/smileys.php +66 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/config/user_agents.php +175 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/controllers/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/controllers/welcome.php +17 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/error_404.php +34 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/error_db.php +34 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/error_general.php +34 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/error_php.php +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/errors/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/helpers/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/hooks/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/language/english/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/libraries/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/models/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/views/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/application/views/welcome_message.php +62 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/cache/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/Base4.php +69 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/Base5.php +56 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/CodeIgniter.php +280 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/Common.php +421 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/Compat.php +93 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/codeigniter/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB.php +146 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_active_rec.php +1820 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_cache.php +195 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_driver.php +1366 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_forge.php +375 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_result.php +342 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/DB_utility.php +389 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/mssql_driver.php +667 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/mssql_forge.php +248 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/mssql_result.php +169 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mssql/mssql_utility.php +123 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/mysql_driver.php +670 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/mysql_forge.php +254 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/mysql_result.php +169 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysql/mysql_utility.php +245 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/mysqli_driver.php +671 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/mysqli_forge.php +254 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/mysqli_result.php +169 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/mysqli/mysqli_utility.php +123 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/oci8_driver.php +780 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/oci8_forge.php +248 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/oci8_result.php +249 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/oci8/oci8_utility.php +122 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/odbc_driver.php +639 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/odbc_forge.php +266 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/odbc_result.php +228 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/odbc/odbc_utility.php +148 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/postgre_driver.php +684 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/postgre_forge.php +248 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/postgre_result.php +169 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/postgre/postgre_utility.php +124 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/sqlite_driver.php +657 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/sqlite_forge.php +265 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/sqlite_result.php +179 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/drivers/sqlite/sqlite_utility.php +141 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/database/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/fonts/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/fonts/texb.ttf +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/array_helper.php +78 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/compatibility_helper.php +498 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/cookie_helper.php +144 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/date_helper.php +611 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/directory_helper.php +84 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/download_helper.php +100 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/email_helper.php +62 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/file_helper.php +464 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/form_helper.php +1025 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/html_helper.php +416 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/inflector_helper.php +171 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/language_helper.php +58 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/number_helper.php +75 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/path_helper.php +72 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/security_helper.php +126 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/smiley_helper.php +273 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/string_helper.php +273 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/text_helper.php +462 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/typography_helper.php +71 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/url_helper.php +593 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/helpers/xml_helper.php +62 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/calendar_lang.php +51 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/date_lang.php +60 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/db_lang.php +28 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/email_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/form_validation_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/ftp_lang.php +17 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/imglib_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/number_lang.php +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/profiler_lang.php +19 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/scaffolding_lang.php +17 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/unit_test_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/upload_lang.php +22 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/english/validation_lang.php +24 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/language/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Benchmark.php +113 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Calendar.php +477 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Cart.php +550 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Config.php +244 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Controller.php +127 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Email.php +2041 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Encrypt.php +484 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Exceptions.php +174 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Form_validation.php +1278 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Ftp.php +618 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Hooks.php +226 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Image_lib.php +1544 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Input.php +1067 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Language.php +123 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Loader.php +1085 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Log.php +117 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Model.php +83 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Output.php +409 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Pagination.php +244 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Parser.php +173 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Profiler.php +392 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Router.php +389 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Session.php +758 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Sha1.php +251 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Table.php +440 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Trackback.php +547 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Typography.php +406 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/URI.php +586 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Unit_test.php +347 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Upload.php +970 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/User_agent.php +502 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Validation.php +875 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Xmlrpc.php +1421 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Xmlrpcs.php +536 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/Zip.php +359 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/libraries/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/logs/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/plugins/captcha_pi.php +356 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/plugins/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/plugins/js_calendar_pi.php +629 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/Scaffolding.php +291 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/images/background.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/images/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/images/logo.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/add.php +32 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/delete.php +9 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/edit.php +33 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/footer.php +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/header.php +29 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/index.html +10 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/no_data.php +8 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/stylesheet.css +143 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/system/scaffolding/views/view.php +27 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/changelog.html +1080 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/active_record.html +757 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/caching.html +220 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/call_function.html +118 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/configuration.html +157 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/connecting.html +186 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/examples.html +217 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/fields.html +163 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/forge.html +234 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/helpers.html +151 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/index.html +99 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/queries.html +153 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/results.html +238 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/table_data.html +113 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/transactions.html +200 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/database/utilities.html +295 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/doc_style/index.html +86 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/doc_style/template.html +128 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/alternative_php.html +147 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/ancillary_classes.html +117 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/autoloader.html +101 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/caching.html +115 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/common_functions.html +119 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/controllers.html +385 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/core_classes.html +185 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/creating_libraries.html +298 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/credits.html +86 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/errors.html +138 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/helpers.html +185 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/hooks.html +167 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/libraries.html +94 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/managing_apps.html +133 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/models.html +251 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/plugins.html +127 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/profiling.html +104 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/quick_reference.html +77 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/requirements.html +82 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/reserved_names.html +156 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/routing.html +176 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/scaffolding.html +147 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/security.html +153 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/styleguide.html +687 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/urls.html +151 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/general/views.html +274 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/array_helper.html +119 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/compatibility_helper.html +118 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/cookie_helper.html +147 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/date_helper.html +408 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/directory_helper.html +143 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/download_helper.html +112 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/email_helper.html +102 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/file_helper.html +178 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/form_helper.html +484 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/html_helper.html +385 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/inflector_helper.html +151 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/language_helper.html +98 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/number_helper.html +107 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/path_helper.html +106 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/security_helper.html +125 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/smiley_helper.html +215 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/string_helper.html +176 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/text_helper.html +192 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/typography_helper.html +112 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/url_helper.html +289 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/helpers/xml_helper.html +105 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/appflowchart.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/arrow.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/ci_logo.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/ci_logo_flame.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/ci_quick_ref.png +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/codeigniter_1.7.1_helper_reference.pdf +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/codeigniter_1.7.1_helper_reference.png +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/codeigniter_1.7.1_library_reference.pdf +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/codeigniter_1.7.1_library_reference.png +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/file.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/folder.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/nav_bg_darker.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/nav_separator_darker.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/nav_toggle_darker.jpg +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/smile.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/images/transparent.gif +0 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/index.html +99 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/downloads.html +105 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/index.html +97 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/troubleshooting.html +90 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_120.html +92 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_130.html +203 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_131.html +102 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_132.html +100 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_133.html +112 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_140.html +145 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_141.html +148 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_150.html +178 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_152.html +111 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_153.html +100 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_154.html +116 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_160.html +125 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_161.html +98 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_162.html +106 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_163.html +99 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_170.html +121 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_171.html +98 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_172.html +105 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrade_b11.html +144 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/installation/upgrading.html +101 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/benchmark.html +198 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/calendar.html +249 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/cart.html +346 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/config.html +181 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/email.html +307 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/encryption.html +182 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/file_uploading.html +451 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/form_validation.html +1221 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/ftp.html +303 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/image_lib.html +666 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/input.html +231 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/language.html +137 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/loader.html +214 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/output.html +145 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/pagination.html +218 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/parser.html +208 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/sessions.html +311 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/table.html +292 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/trackback.html +246 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/typography.html +160 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/unit_testing.html +205 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/uri.html +252 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/user_agent.html +201 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/validation.html +740 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/xmlrpc.html +517 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/libraries/zip.html +278 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/license.html +107 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/hacks.txt +9 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/moo.fx.js +119 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/moo.fx.pack.js +241 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/nav.js +139 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/prototype.lite.js +127 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/nav/user_guide_menu.js +4 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/appflow.html +95 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/at_a_glance.html +172 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/cheatsheets.html +83 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/features.html +120 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/getting_started.html +92 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/goals.html +98 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/index.html +84 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/overview/mvc.html +100 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/toc.html +209 -0
- data/generators/ci_app/templates/CodeIgniter_1.7.2/user_guide/userguide.css +406 -0
- data/generators/ci_app/templates/README +1 -0
- data/generators/ci_controller/USAGE +2 -0
- data/generators/ci_controller/ci_controller_generator.rb +11 -0
- data/generators/ci_controller/templates/ci_controller.php.erb +15 -0
- data/generators/ci_controller/templates/ci_view.php.erb +8 -0
- data/generators/ci_layout/USAGE +2 -0
- data/generators/ci_layout/ci_layout_generator.rb +24 -0
- data/generators/ci_layout/templates/application_layout.php.erb +19 -0
- data/generators/ci_model/USAGE +2 -0
- data/generators/ci_model/ci_model_generator.rb +42 -0
- data/generators/ci_model/templates/ci_model.php.erb +15 -0
- data/generators/ci_model/templates/model.rb +5 -0
- data/generators/ci_model/templates/model_migration.rb.erb +16 -0
- data/init.rb +1 -0
- data/install.rb +1 -0
- data/lib/codeigniter_vender.rb +1 -0
- data/lib/tasks/app.rake +8 -0
- data/test/codeigniter_vender_test.rb +8 -0
- data/test/test_helper.rb +3 -0
- data/uninstall.rb +1 -0
- metadata +411 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>Transactions : 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
|
+
|
|
16
|
+
<meta http-equiv='expires' content='-1' />
|
|
17
|
+
<meta http-equiv= 'pragma' content='no-cache' />
|
|
18
|
+
<meta name='robots' content='all' />
|
|
19
|
+
<meta name='author' content='ExpressionEngine Dev Team' />
|
|
20
|
+
<meta name='description' content='CodeIgniter User Guide' />
|
|
21
|
+
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
|
|
25
|
+
<!-- START NAVIGATION -->
|
|
26
|
+
<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>
|
|
28
|
+
<div id="masthead">
|
|
29
|
+
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
|
30
|
+
<tr>
|
|
31
|
+
<td><h1>CodeIgniter User Guide Version 1.7.2</h1></td>
|
|
32
|
+
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
|
33
|
+
</tr>
|
|
34
|
+
</table>
|
|
35
|
+
</div>
|
|
36
|
+
<!-- END NAVIGATION -->
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<!-- START BREADCRUMB -->
|
|
41
|
+
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
|
42
|
+
<tr>
|
|
43
|
+
<td id="breadcrumb">
|
|
44
|
+
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
|
45
|
+
<a href="../index.html">User Guide Home</a> ›
|
|
46
|
+
<a href="index.html">Database Library</a> ›
|
|
47
|
+
Transactions
|
|
48
|
+
</td>
|
|
49
|
+
<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 <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
|
50
|
+
</tr>
|
|
51
|
+
</table>
|
|
52
|
+
<!-- END BREADCRUMB -->
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
<br clear="all" />
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
<!-- START CONTENT -->
|
|
59
|
+
<div id="content">
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
<h1>Transactions</h1>
|
|
63
|
+
|
|
64
|
+
<p>CodeIgniter's database abstraction allows you to use <dfn>transactions</dfn> with databases that support transaction-safe table types. In MySQL, you'll need
|
|
65
|
+
to be running InnoDB or BDB table types rather than the more common MyISAM. Most other database platforms support transactions natively.</p>
|
|
66
|
+
|
|
67
|
+
<p>If you are not familiar with
|
|
68
|
+
transactions we recommend you find a good online resource to learn about them for your particular database. The information below assumes you
|
|
69
|
+
have a basic understanding of transactions.
|
|
70
|
+
</p>
|
|
71
|
+
|
|
72
|
+
<h2>CodeIgniter's Approach to Transactions</h2>
|
|
73
|
+
|
|
74
|
+
<p>CodeIgniter utilizes an approach to transactions that is very similar to the process used by the popular database class ADODB. We've chosen that approach
|
|
75
|
+
because it greatly simplifies the process of running transactions. In most cases all that is required are two lines of code.</p>
|
|
76
|
+
|
|
77
|
+
<p>Traditionally, transactions have required a fair amount of work to implement since they demand that you to keep track of your queries
|
|
78
|
+
and determine whether to <dfn>commit</dfn> or <dfn>rollback</dfn> based on the success or failure of your queries. This is particularly cumbersome with
|
|
79
|
+
nested queries. In contrast,
|
|
80
|
+
we've implemented a smart transaction system that does all this for you automatically (you can also manage your transactions manually if you choose to,
|
|
81
|
+
but there's really no benefit).</p>
|
|
82
|
+
|
|
83
|
+
<h2>Running Transactions</h2>
|
|
84
|
+
|
|
85
|
+
<p>To run your queries using transactions you will use the <dfn>$this->db->trans_start()</dfn> and <dfn>$this->db->trans_complete()</dfn> functions as follows:</p>
|
|
86
|
+
|
|
87
|
+
<code>
|
|
88
|
+
<kbd>$this->db->trans_start();</kbd><br />
|
|
89
|
+
$this->db->query('AN SQL QUERY...');<br />
|
|
90
|
+
$this->db->query('ANOTHER QUERY...');<br />
|
|
91
|
+
$this->db->query('AND YET ANOTHER QUERY...');<br />
|
|
92
|
+
<kbd>$this->db->trans_complete();</kbd>
|
|
93
|
+
</code>
|
|
94
|
+
|
|
95
|
+
<p>You can run as many queries as you want between the start/complete functions and they will all be committed or rolled back based on success or failure
|
|
96
|
+
of any given query.</p>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<h2>Strict Mode</h2>
|
|
100
|
+
|
|
101
|
+
<p>By default CodeIgniter runs all transactions in <dfn>Strict Mode</dfn>. When strict mode is enabled, if you are running multiple groups of
|
|
102
|
+
transactions, if one group fails all groups will be rolled back. If strict mode is disabled, each group is treated independently, meaning
|
|
103
|
+
a failure of one group will not affect any others.</p>
|
|
104
|
+
|
|
105
|
+
<p>Strict Mode can be disabled as follows:</p>
|
|
106
|
+
|
|
107
|
+
<code>$this->db->trans_strict(FALSE);</code>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<h2>Managing Errors</h2>
|
|
111
|
+
|
|
112
|
+
<p>If you have error reporting enabled in your <dfn>config/database.php</dfn> file you'll see a standard error message if the commit was unsuccessful. If debugging is turned off, you can
|
|
113
|
+
manage your own errors like this:</p>
|
|
114
|
+
|
|
115
|
+
<code>
|
|
116
|
+
$this->db->trans_start();<br />
|
|
117
|
+
$this->db->query('AN SQL QUERY...');<br />
|
|
118
|
+
$this->db->query('ANOTHER QUERY...');<br />
|
|
119
|
+
$this->db->trans_complete();<br />
|
|
120
|
+
<br />
|
|
121
|
+
if (<kbd>$this->db->trans_status()</kbd> === FALSE)<br />
|
|
122
|
+
{<br />
|
|
123
|
+
// generate an error... or use the log_message() function to log your error<br />
|
|
124
|
+
}
|
|
125
|
+
</code>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<h2>Enabling Transactions</h2>
|
|
129
|
+
|
|
130
|
+
<p>Transactions are enabled automatically the moment you use <dfn>$this->db->trans_start()</dfn>. If you would like to disable transactions you
|
|
131
|
+
can do so using <dfn>$this->db->trans_off()</dfn>:</p>
|
|
132
|
+
|
|
133
|
+
<code>
|
|
134
|
+
<kbd>$this->db->trans_off()</kbd><br /><br />
|
|
135
|
+
|
|
136
|
+
$this->db->trans_start();<br />
|
|
137
|
+
$this->db->query('AN SQL QUERY...');<br />
|
|
138
|
+
$this->db->trans_complete();
|
|
139
|
+
</code>
|
|
140
|
+
|
|
141
|
+
<p class="important">When transactions are disabled, your queries will be auto-commited, just as they are when running queries without transactions.</p>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
<h2>Test Mode</h2>
|
|
145
|
+
|
|
146
|
+
<p>You can optionally put the transaction system into "test mode", which will cause your queries to be rolled back -- even if the queries produce a valid result.
|
|
147
|
+
To use test mode simply set the first parameter in the <dfn>$this->db->trans_start()</dfn> function to <samp>TRUE</samp>:</p>
|
|
148
|
+
|
|
149
|
+
<code>
|
|
150
|
+
$this->db->trans_start(<samp>TRUE</samp>); // Query will be rolled back<br />
|
|
151
|
+
$this->db->query('AN SQL QUERY...');<br />
|
|
152
|
+
$this->db->trans_complete();
|
|
153
|
+
</code>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<h2>Running Transactions Manually</h2>
|
|
157
|
+
|
|
158
|
+
<p>If you would like to run transactions manually you can do so as follows:</p>
|
|
159
|
+
|
|
160
|
+
<code>
|
|
161
|
+
$this->db->trans_begin();<br /><br />
|
|
162
|
+
|
|
163
|
+
$this->db->query('AN SQL QUERY...');<br />
|
|
164
|
+
$this->db->query('ANOTHER QUERY...');<br />
|
|
165
|
+
$this->db->query('AND YET ANOTHER QUERY...');<br />
|
|
166
|
+
|
|
167
|
+
<br />
|
|
168
|
+
|
|
169
|
+
if ($this->db->trans_status() === FALSE)<br />
|
|
170
|
+
{<br />
|
|
171
|
+
$this->db->trans_rollback();<br />
|
|
172
|
+
}<br />
|
|
173
|
+
else<br />
|
|
174
|
+
{<br />
|
|
175
|
+
$this->db->trans_commit();<br />
|
|
176
|
+
}<br />
|
|
177
|
+
</code>
|
|
178
|
+
|
|
179
|
+
<p class="important"><strong>Note:</strong> Make sure to use <kbd>$this->db->trans_begin()</kbd> when running manual transactions, <strong>NOT</strong>
|
|
180
|
+
<dfn>$this->db->trans_start()</dfn>.</p>
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
</div>
|
|
186
|
+
<!-- END CONTENT -->
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
<div id="footer">
|
|
190
|
+
<p>
|
|
191
|
+
Previous Topic: <a href="fields.html">Field MetaData</a> ·
|
|
192
|
+
<a href="#top">Top of Page</a> ·
|
|
193
|
+
<a href="../index.html">User Guide Home</a> ·
|
|
194
|
+
Next Topic: <a href="table_data.html">Table Metadata</a>
|
|
195
|
+
</p>
|
|
196
|
+
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
</body>
|
|
200
|
+
</html>
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>Database Utility 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
|
+
|
|
16
|
+
<meta http-equiv='expires' content='-1' />
|
|
17
|
+
<meta http-equiv= 'pragma' content='no-cache' />
|
|
18
|
+
<meta name='robots' content='all' />
|
|
19
|
+
<meta name='author' content='ExpressionEngine Dev Team' />
|
|
20
|
+
<meta name='description' content='CodeIgniter User Guide' />
|
|
21
|
+
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
|
|
25
|
+
<!-- START NAVIGATION -->
|
|
26
|
+
<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>
|
|
28
|
+
<div id="masthead">
|
|
29
|
+
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
|
30
|
+
<tr>
|
|
31
|
+
<td><h1>CodeIgniter User Guide Version 1.7.2</h1></td>
|
|
32
|
+
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
|
33
|
+
</tr>
|
|
34
|
+
</table>
|
|
35
|
+
</div>
|
|
36
|
+
<!-- END NAVIGATION -->
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<!-- START BREADCRUMB -->
|
|
40
|
+
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
|
41
|
+
<tr>
|
|
42
|
+
<td id="breadcrumb">
|
|
43
|
+
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
|
44
|
+
<a href="../index.html">User Guide Home</a> ›
|
|
45
|
+
<a href="index.html">Database Library</a> ›
|
|
46
|
+
Database Utility Class
|
|
47
|
+
</td>
|
|
48
|
+
<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 <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
|
49
|
+
</tr>
|
|
50
|
+
</table>
|
|
51
|
+
<!-- END BREADCRUMB -->
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
<br clear="all" />
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<!-- START CONTENT -->
|
|
58
|
+
<div id="content">
|
|
59
|
+
|
|
60
|
+
<h1>Database Utility Class</h1>
|
|
61
|
+
|
|
62
|
+
<p>The Database Utility Class contains functions that help you manage your database.</p>
|
|
63
|
+
|
|
64
|
+
<h3>Table of Contents</h3>
|
|
65
|
+
|
|
66
|
+
<ul>
|
|
67
|
+
<li><a href="#init">Initializing the Utility Class</a></li>
|
|
68
|
+
<li><a href="#list">Listing your Databases</a></li>
|
|
69
|
+
<li><a href="#opttb">Optimizing your Tables</a></li>
|
|
70
|
+
<li><a href="#repair">Repairing your Databases</a></li>
|
|
71
|
+
<li><a href="#optdb">Optimizing your Database</a></li>
|
|
72
|
+
<li><a href="#csv">CSV Files from a Database Result</a></li>
|
|
73
|
+
<li><a href="#xml">XML Files from a Database Result</a></li>
|
|
74
|
+
<li><a href="#backup">Backing up your Database</a></li>
|
|
75
|
+
</ul>
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<h2><a name="init"></a>Initializing the Utility Class</h2>
|
|
80
|
+
|
|
81
|
+
<p class="important"><strong>Important:</strong> In order to initialize the Utility class, your database driver must
|
|
82
|
+
already be running, since the utilities class relies on it.</p>
|
|
83
|
+
|
|
84
|
+
<p>Load the Utility Class as follows:</p>
|
|
85
|
+
|
|
86
|
+
<code>$this->load->dbutil()</code>
|
|
87
|
+
|
|
88
|
+
<p>Once initialized you will access the functions using the <dfn>$this->dbutil</dfn> object:</p>
|
|
89
|
+
|
|
90
|
+
<code>$this->dbutil->some_function()</code>
|
|
91
|
+
|
|
92
|
+
<h2><a name="list"></a>$this->dbutil->list_databases()</h2>
|
|
93
|
+
<p>Returns an array of database names:</p>
|
|
94
|
+
|
|
95
|
+
<code>
|
|
96
|
+
$dbs = $this->dbutil->list_databases();<br />
|
|
97
|
+
<br />
|
|
98
|
+
foreach($dbs as $db)<br />
|
|
99
|
+
{<br />
|
|
100
|
+
echo $db;<br />
|
|
101
|
+
}</code>
|
|
102
|
+
<h2><a name="opttb"></a>$this->dbutil->optimize_table('table_name');</h2>
|
|
103
|
+
|
|
104
|
+
<p class="important"><strong>Note:</strong> This features is only available for MySQL/MySQLi databases.</p>
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
<p>Permits you to optimize a table using the table name specified in the first parameter. Returns TRUE/FALSE based on success or failure:</p>
|
|
108
|
+
|
|
109
|
+
<code>
|
|
110
|
+
if ($this->dbutil->optimize_table('table_name'))<br />
|
|
111
|
+
{<br />
|
|
112
|
+
echo 'Success!';<br />
|
|
113
|
+
}
|
|
114
|
+
</code>
|
|
115
|
+
|
|
116
|
+
<p><strong>Note:</strong> Not all database platforms support table optimization.</p>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
<h2><a name="repair"></a>$this->dbutil->repair_table('table_name');</h2>
|
|
120
|
+
|
|
121
|
+
<p class="important"><strong>Note:</strong> This features is only available for MySQL/MySQLi databases.</p>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
<p>Permits you to repair a table using the table name specified in the first parameter. Returns TRUE/FALSE based on success or failure:</p>
|
|
125
|
+
|
|
126
|
+
<code>
|
|
127
|
+
if ($this->dbutil->repair_table('table_name'))<br />
|
|
128
|
+
{<br />
|
|
129
|
+
echo 'Success!';<br />
|
|
130
|
+
}
|
|
131
|
+
</code>
|
|
132
|
+
|
|
133
|
+
<p><strong>Note:</strong> Not all database platforms support table repairs.</p>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
<h2><a name="optdb"></a>$this->dbutil->optimize_database();</h2>
|
|
137
|
+
|
|
138
|
+
<p class="important"><strong>Note:</strong> This features is only available for MySQL/MySQLi databases.</p>
|
|
139
|
+
|
|
140
|
+
<p>Permits you to optimize the database your DB class is currently connected to. Returns an array containing the DB status messages or FALSE on failure.</p>
|
|
141
|
+
|
|
142
|
+
<code>
|
|
143
|
+
$result = $this->dbutil->optimize_database();<br />
|
|
144
|
+
<br />
|
|
145
|
+
if ($result !== FALSE)<br />
|
|
146
|
+
{<br />
|
|
147
|
+
print_r($result);<br />
|
|
148
|
+
}
|
|
149
|
+
</code>
|
|
150
|
+
|
|
151
|
+
<p><strong>Note:</strong> Not all database platforms support table optimization.</p>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<h2><a name="csv"></a>$this->dbutil->csv_from_result($db_result)</h2>
|
|
155
|
+
|
|
156
|
+
<p>Permits you to generate a CSV file from a query result. The first parameter of the function must contain the result object from your query.
|
|
157
|
+
Example:</p>
|
|
158
|
+
|
|
159
|
+
<code>
|
|
160
|
+
$this->load->dbutil();<br />
|
|
161
|
+
<br />
|
|
162
|
+
$query = $this->db->query("SELECT * FROM mytable");<br />
|
|
163
|
+
<br />
|
|
164
|
+
echo $this->dbutil->csv_from_result($query);
|
|
165
|
+
</code>
|
|
166
|
+
|
|
167
|
+
<p>The second and third parameters allows you to
|
|
168
|
+
set the delimiter and newline character. By default tabs are used as the delimiter and "\n" is used as a new line. Example:</p>
|
|
169
|
+
|
|
170
|
+
<code>
|
|
171
|
+
$delimiter = ",";<br />
|
|
172
|
+
$newline = "\r\n";<br />
|
|
173
|
+
<br />
|
|
174
|
+
echo $this->dbutil->csv_from_result($query, $delimiter, $newline);
|
|
175
|
+
</code>
|
|
176
|
+
|
|
177
|
+
<p><strong>Important:</strong> This function will NOT write the CSV file for you. It simply creates the CSV layout.
|
|
178
|
+
If you need to write the file use the <a href="../helpers/file_helper.html">File Helper</a>.</p>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
<h2><a name="xml"></a>$this->dbutil->xml_from_result($db_result)</h2>
|
|
182
|
+
|
|
183
|
+
<p>Permits you to generate an XML file from a query result. The first parameter expects a query result object, the second
|
|
184
|
+
may contain an optional array of config parameters. Example:</p>
|
|
185
|
+
|
|
186
|
+
<code>
|
|
187
|
+
$this->load->dbutil();<br />
|
|
188
|
+
<br />
|
|
189
|
+
$query = $this->db->query("SELECT * FROM mytable");<br />
|
|
190
|
+
<br />
|
|
191
|
+
$config = array (<br />
|
|
192
|
+
'root' => 'root',<br />
|
|
193
|
+
'element' => 'element', <br />
|
|
194
|
+
'newline' => "\n", <br />
|
|
195
|
+
'tab' => "\t"<br />
|
|
196
|
+
);<br />
|
|
197
|
+
<br />
|
|
198
|
+
echo $this->dbutil->xml_from_result($query, $config);
|
|
199
|
+
</code>
|
|
200
|
+
|
|
201
|
+
<p><strong>Important:</strong> This function will NOT write the XML file for you. It simply creates the XML layout.
|
|
202
|
+
If you need to write the file use the <a href="../helpers/file_helper.html">File Helper</a>.</p>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
<h2><a name="backup"></a>$this->dbutil->backup()</h2>
|
|
206
|
+
|
|
207
|
+
<p>Permits you to backup your full database or individual tables. The backup data can be compressed in either Zip or Gzip format.</p>
|
|
208
|
+
|
|
209
|
+
<p class="important"><strong>Note:</strong> This features is only available for MySQL databases.</p>
|
|
210
|
+
|
|
211
|
+
<p>Note: Due to the limited execution time and memory available to PHP, backing up very large
|
|
212
|
+
databases may not be possible. If your database is very large you might need to backup directly from your SQL server
|
|
213
|
+
via the command line, or have your server admin do it for you if you do not have root privileges.</p>
|
|
214
|
+
|
|
215
|
+
<h3>Usage Example</h3>
|
|
216
|
+
|
|
217
|
+
<code>
|
|
218
|
+
<dfn>// Load the DB utility class</dfn><br />
|
|
219
|
+
$this->load->dbutil();<br /><br />
|
|
220
|
+
|
|
221
|
+
<dfn>// Backup your entire database and assign it to a variable</dfn><br />
|
|
222
|
+
$backup =& $this->dbutil->backup();
|
|
223
|
+
|
|
224
|
+
<br /><br />
|
|
225
|
+
<dfn>// Load the file helper and write the file to your server</dfn><br />
|
|
226
|
+
$this->load->helper('file');<br />
|
|
227
|
+
write_file('/path/to/mybackup.gz', $backup);
|
|
228
|
+
|
|
229
|
+
<br /><br />
|
|
230
|
+
<dfn>// Load the download helper and send the file to your desktop</dfn><br />
|
|
231
|
+
$this->load->helper('download');<br />
|
|
232
|
+
force_download('mybackup.gz', $backup);
|
|
233
|
+
</code>
|
|
234
|
+
|
|
235
|
+
<h3>Setting Backup Preferences</h3>
|
|
236
|
+
|
|
237
|
+
<p>Backup preferences are set by submitting an array of values to the first parameter of the backup function. Example:</p>
|
|
238
|
+
|
|
239
|
+
<code>$prefs = array(<br />
|
|
240
|
+
'tables' => array('table1', 'table2'), // Array of tables to backup.<br />
|
|
241
|
+
'ignore' => array(), // List of tables to omit from the backup<br />
|
|
242
|
+
'format' => 'txt', // gzip, zip, txt<br />
|
|
243
|
+
'filename' => 'mybackup.sql', // File name - NEEDED ONLY WITH ZIP FILES<br />
|
|
244
|
+
'add_drop' => TRUE, // Whether to add DROP TABLE statements to backup file<br />
|
|
245
|
+
'add_insert' => TRUE, // Whether to add INSERT data to backup file<br />
|
|
246
|
+
'newline' => "\n" // Newline character used in backup file<br />
|
|
247
|
+
);<br />
|
|
248
|
+
<br />
|
|
249
|
+
$this->dbutil->backup($prefs);
|
|
250
|
+
</code>
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
<h3>Description of Backup Preferences</h3>
|
|
254
|
+
|
|
255
|
+
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
|
|
256
|
+
<tr>
|
|
257
|
+
<th>Preference</th>
|
|
258
|
+
<th>Default Value</th>
|
|
259
|
+
<th>Options</th>
|
|
260
|
+
<th>Description</th>
|
|
261
|
+
</tr><tr>
|
|
262
|
+
<td class="td"><strong>tables</strong></td><td class="td">empty array</td><td class="td">None</td><td class="td">An array of tables you want backed up. If left blank all tables will be exported.</td>
|
|
263
|
+
</tr><tr>
|
|
264
|
+
<td class="td"><strong>ignore</strong></td><td class="td">empty array</td><td class="td">None</td><td class="td">An array of tables you want the backup routine to ignore.</td>
|
|
265
|
+
</tr><tr>
|
|
266
|
+
<td class="td"><strong>format</strong></td><td class="td">gzip</td><td class="td">gzip, zip, txt</td><td class="td">The file format of the export file.</td>
|
|
267
|
+
</tr><tr>
|
|
268
|
+
<td class="td"><strong>filename</strong></td><td class="td">the current date/time</td><td class="td">None</td><td class="td">The name of the backed-up file. The name is needed only if you are using zip compression.</td>
|
|
269
|
+
</tr><tr>
|
|
270
|
+
<td class="td"><strong>add_drop</strong></td><td class="td">TRUE</td><td class="td">TRUE/FALSE</td><td class="td">Whether to include DROP TABLE statements in your SQL export file.</td>
|
|
271
|
+
</tr><tr>
|
|
272
|
+
<td class="td"><strong>add_insert</strong></td><td class="td">TRUE</td><td class="td">TRUE/FALSE</td><td class="td">Whether to include INSERT statements in your SQL export file.</td>
|
|
273
|
+
</tr><tr>
|
|
274
|
+
<td class="td"><strong>newline</strong></td><td class="td">"\n"</td><td class="td">"\n", "\r", "\r\n"</td><td class="td">Type of newline to use in your SQL export file.</td>
|
|
275
|
+
|
|
276
|
+
</tr>
|
|
277
|
+
</table>
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
</div>
|
|
281
|
+
<!-- END CONTENT -->
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
<div id="footer">
|
|
285
|
+
<p>
|
|
286
|
+
Previous Topic: <a href="forge.html">DB Forge Class</a>
|
|
287
|
+
·
|
|
288
|
+
<a href="#top">Top of Page</a> ·
|
|
289
|
+
<a href="../index.html">User Guide Home</a> ·
|
|
290
|
+
Next Topic: <a href="../libraries/email.html"> Email Class</a></p>
|
|
291
|
+
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
|
292
|
+
</div>
|
|
293
|
+
|
|
294
|
+
</body>
|
|
295
|
+
</html>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>Writing Documentation : 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
|
+
|
|
16
|
+
<meta http-equiv='expires' content='-1' />
|
|
17
|
+
<meta http-equiv= 'pragma' content='no-cache' />
|
|
18
|
+
<meta name='robots' content='all' />
|
|
19
|
+
<meta name='author' content='ExpressionEngine Dev Team' />
|
|
20
|
+
<meta name='description' content='CodeIgniter User Guide' />
|
|
21
|
+
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
|
|
25
|
+
<!-- START NAVIGATION -->
|
|
26
|
+
<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>
|
|
28
|
+
<div id="masthead">
|
|
29
|
+
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
|
30
|
+
<tr>
|
|
31
|
+
<td><h1>CodeIgniter User Guide Version 1.7.2</h1></td>
|
|
32
|
+
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
|
|
33
|
+
</tr>
|
|
34
|
+
</table>
|
|
35
|
+
</div>
|
|
36
|
+
<!-- END NAVIGATION -->
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<!-- START BREADCRUMB -->
|
|
40
|
+
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
|
|
41
|
+
<tr>
|
|
42
|
+
<td id="breadcrumb">
|
|
43
|
+
<a href="http://codeigniter.com/">CodeIgniter Home</a> ›
|
|
44
|
+
<a href="../index.html">User Guide Home</a> ›
|
|
45
|
+
Writing Documentation
|
|
46
|
+
</td>
|
|
47
|
+
<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 <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
|
|
48
|
+
</tr>
|
|
49
|
+
</table>
|
|
50
|
+
<!-- END BREADCRUMB -->
|
|
51
|
+
|
|
52
|
+
<br clear="all" />
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
<!-- START CONTENT -->
|
|
56
|
+
<div id="content">
|
|
57
|
+
|
|
58
|
+
<h1>Writing Documentation</h1>
|
|
59
|
+
|
|
60
|
+
<p>To help facilitate a consistent, easy-to-read documentation style for CodeIgniter projects, Ellislab is making the markup and CSS from the CodeIgniter user guide freely available to the community for their use. For your convenience, a template file has been created that includes the primary blocks of markup used with brief samples.</p>
|
|
61
|
+
|
|
62
|
+
<h2>Files</h2>
|
|
63
|
+
|
|
64
|
+
<ul>
|
|
65
|
+
<li><a href="../userguide.css">Stylesheet</a></li>
|
|
66
|
+
<li><a href="./template.html">Page Template</a></li>
|
|
67
|
+
</ul>
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</div>
|
|
71
|
+
<!-- END CONTENT -->
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
<div id="footer">
|
|
76
|
+
<p>
|
|
77
|
+
Previous Topic: <a href="../general/styleguide.html">PHP Style Guide</a>
|
|
78
|
+
·
|
|
79
|
+
<a href="#top">Top of Page</a> ·
|
|
80
|
+
<a href="../index.html">User Guide Home</a> ·
|
|
81
|
+
</p>
|
|
82
|
+
<p><a href="http://codeigniter.com">CodeIgniter</a> · Copyright © 2006-2010 · <a href="http://ellislab.com/">Ellislab, Inc.</a></p>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
</body>
|
|
86
|
+
</html>
|