phpDesigner 7 is a PHP EDITOR and PHP IDE that gives you the possibility to work with the CodeIgniter. You can access its classes, functions and variables inside phpDesigner 7.
CodeIgniter is an open source web application framework for use in building dynamic web sites with PHP. It's goal is to enable developers to develop projects much faster than writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries1). CodeIgniter features include2):
- Model-View-Controller Based System
- PHP 4 Compatible
- Extremely Light Weight
- Full Featured database classes with support for several platforms.
- Active Record Database Support
- Form and Data Validation
- Security and XSS Filtering
- Session Management
- Email Sending Class. Supports Attachments, HTML/Text email, multiple protocols (sendmail, SMTP, and Mail) and more.
- Image Manipulation Library (cropping, resizing, rotating, etc.). Supports GD, ImageMagick, and NetPBM
- File Uploading Class
- FTP Class
- Data Encryption
- Full Page Caching
- Error Logging
- Application Profiling
- Calendaring Class
- User Agent Class
- Zip Encoding Class
- Template Engine Class
- Trackback Class
- XML-RPC Library
- Unit Testing Class
- Search-engine Friendly URLs
- Flexible URI Routing
- Support for Hooks, Class Extensions, and Plugins
- Large library of “helper” functions
First you need to download the CodeIgniter and extract it to your project's root folder.
Create a new project in phpDesigner 7 from the menu Project > Project Manager. Under 'Libraries', add the path to CodeIgniter. Now load the new project from either the 'Project Manager' > 'Load Project' or the menu Project. You can now work with all the classes, functions and variables listed in CodeIgniter inside phpDesigner 7.
You can easily navigate and browse all listed classes, functions and variables in CodeIgniter from the menu Go to. Select Project Declaration > All. You can filter all the listed classes, functions and variables in your project including your framework in the text-field 'Search'.
The Code completion for PHP will be displayed on the fly as you continue to write your code and is able to detect the context and display PHP items based on the context. You need to be inside a PHP block in order to access all classes, functions and variables listed in your CodeIgniter. The Code Completion will be automate triggered once typing. For manual triggering simply press 'CTRL+SPACE'.
You can configure the behavior of the Code Completion from the menu Tools > Preferences > Editor > Code Completion.
The contextual Code Tip for PHP helps you complete predefined and user-defined functions easily by automatically showing the expected parameters for the current function. You need to be inside a PHP block in order to work with all listed classes, functions and variables in your CodeIgniter using the Code Tip. It is automatic triggered on the fly as you continue to write your code or manually invoked by pressing CTRL.
You can configure the behavior of the Code Tip from the menu Tools > Preferences > Editor > Code Tip.