This paper describes the method of perfecting the code hint function of CodeIgniter in IDE, just copy the following code to system/core/path controller.php and model.php can realize this function requirement:
/** * @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 $sha 1; /** * @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;