Getting Started with Codeigniter

Only available on StudyMode
  • Download(s) : 273
  • Published : August 13, 2012
Open Document
Text Preview
CodeIgniter User Guide Version 1.6.3
(http://codeigniter.com/user_guide/)

Table of Contents
Basic Info General Topics Class Reference Helper Reference

• • • •

Server Requirements License Agreement Change Log Credits

Installation

• • • •

Downloading CodeIgniter Installation Instructions Upgrading from an Previous Version Troubleshooting

• • • • • • • • • • • • • • • • • • • • • •

Introduction

• • • • •

CodeIgniter at a Glance Supported Features Application Flow Chart Model-View-Controller Architectural Goals

Getting Started CodeIgniter URLs Reserved Names Controllers Views Models Helpers Plugins Using CodeIgniter Libraries Creating Your Own Libraries Creating Core Classes Hooks - Extending the Core Auto-loading Resources Common Functions Scaffolding URI Routing Error Handling Caching Profiling Your Application Managing Applications Alternative PHP Syntax Security

• • • • • • • • • • • • • • • • • • • • • • • •

Benchmarking Class • Array Helper Calendaring Class • Compatibility Helper Config Class • Cookie Helper Database Class • Date Helper Email Class • Directory Helper Encryption Class • Download Helper File Uploading Class • Email Helper FTP Class • File Helper HTML Table Class • Form Helper Image Manipulation • HTML Helper Class • Inflector Helper Input and Security Class • Language Helper Loader Class • Number Helper Language Class • Path Helper Output Class • Security Helper Pagination Class • Smiley Helper Session Class • String Helper Trackback Class • Text Helper Template Parser Class • Typography Helper Unit Testing Class • URL Helper URI Class • XML Helper User Agent Class Validation Class Additional Resources XML-RPC Class • Quick Reference Chart Zip Encoding Class • Community Forums • Community Wiki • Writing Documentation

Change Log
Version 1.6.3 Release Date: June 26, 2008 SVN Revision: 1238 Version 1.6.3 is a security and maintenance release and is recommended for all users.



Database

• • • •
Libraries

Modified MySQL/MySQLi Forge class to give explicit names to keys Added ability to set multiple column non-primary keys to the Forge class Added ability to set additional database config values in DSN connections via the query string.

• • •

Set the mime type check in the Upload class to reference the global mimes variable. Added support for query strings to the Pagination class, automatically detected or explicitly declared. Added get_post() to the Input class.

• • •
Helpers

Documented get() in the Input class. Added the ability to automatically output language items as form labels in the Language class.

• • • • • • • • • • • •
Bug fixes for 1.6.3

Added a Language helper. Added a Number helper. Form helper refactored to allow form_open() and form_fieldset() to accept arrays or strings as arguments.

Other changes Improved security in xss_clean(). Removed an unused Router reference in _display_cache(). Added ability to use xss_clean() to test images for XSS, useful for upload security. Considerably expanded list of mobile user-agents in config/user_agents.php. Charset information in the userguide has been moved above title for internationalization purposes (#4614). Added "Using Associative Arrays In a Request Parameter" example to the XMLRPC userguide page. Removed maxlength and size as automatically added attributes of form_input() in the form helper. Documented the language file use of byte_format() in the number helper.

• • • • • • • • • • •

Added a language key for valid_emails in validation_lang.php. Amended fixes for bug (#3419) with parsing DSN database connections. Moved the _has_operators() function (#4535) into DB_driver from DB_active_rec. Fixed a syntax error in upload_lang.php. Fixed a bug (#4542) with a regular expression in the Image library. Fixed a bug (#4561) where orhaving() wasn't properly passing values. Removed some unused variables from the code (#4563). Fixed a bug where having() was not adding an =...
tracking img