完善CodeIgniter在IDE中代码提示功能的方法_php实例

WBOY
Release: 2016-06-07 17:17:15
Original
857 people have browsed it

本文简述了完善CodeIgniter 在IDE中的代码提示功能的方法,只需将如下代码拷贝到system/core/路径下Controller.php及Model.php即可实现这一功能需求:

/**
 * @var CI_Loader
 */
 var $load;
 /**
 * @var CI_DB_active_record
 */
 var $db;
 /**
 * @var CI_Calendar
 */
 var $calendar;
 /**
 * @var Email
 */
 var $email;
 /**
 * @var CI_Encrypt
 */
 var $encrypt;
 /**
 * @var CI_Ftp
 */
 var $ftp;
 /**
 * @var CI_Hooks
 */
 var $hooks;
 /**
 * @var CI_Image_lib
 */
 var $image_lib;
 /**
 * @var CI_Language
 */
 var $language;
 /**
 * @var CI_Log
 */
 var $log;
 /**
 * @var CI_Output
 */
 var $output;
 /**
 * @var CI_Pagination
 */
 var $pagination;
 /**
 * @var CI_Parser
 */
 var $parser;
 /**
 * @var CI_Session
 */
 var $session;
 /**
 * @var CI_Sha1
 */
 var $sha1;
 /**
 * @var CI_Table
 */
 var $table;
 /**
 * @var CI_Trackback
 */
 var $trackback;
 /**
 * @var CI_Unit_test
 */
 var $unit;
 /**
 * @var CI_Upload
 */
 var $upload;
 /**
 * @var CI_URI
 */
 var $uri;
 /**
 * @var CI_User_agent
 */
 var $agent;
 /**
 * @var CI_Validation
 */
 var $validation;
 /**
 * @var CI_Xmlrpc
 */
 var $xmlrpc;
 /**
 * @var CI_Zip
 */
 var $zip;
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!