<?phpclass_{function_(){// any classes you want included in autocompletion$this->load=newCI_Loader();$this->config=newCI_Config();$this->email=newCI_Email();$this->encrypt=newCI_Encrypt();$this->pagination=newCI_Pagination;$this->session=newCI_Session();$this->driver=newCI_Driver();$this->benchmark=newCI_Benchmark();$this->typography=newCI_Typography();$this->form_validation=newCI_Form_validation();$this->profiler=newCI_Profiler();$this->image_lib=newCI_Image_lib();$this->math=newMath();$this->calendar=newCI_Calendar();$this->db=newCI_DB_active_record();$this->table=newCI_Table();$this->table=newMY_Table();$this->ftp=newCI_FTP();$this->output=newCI_Output();$this->javascript=newCI_Javascript();// note you'll need to use $this->CI = & getInstance() in extended libs// in order for the CI to autocomplete$this->CI=newCI_Controller();}}// any classes you want autocomplete forclassCI_Controllerextends_{}classCI_Modelextends_{}classCI_Form_validationextends_{}classCI_Tableextends_{}?>
Jika Anda memiliki kepustakaan tersendiri yang ingin dimasukkan dalam autocomplete, Saya pikir Anda sudah mendapatkan idenya. Tambahkan ke dalam $this.