Skip to main content

Menampilkan Code Snippets PHP Codeigniter di Netbeans 8

Cara menampilkan code snipets Code Igniter 2.0 di Netbeans IDE for PHP

1. Buat file baru dan letakkan di luar folder project web anda , sebagai contoh anda bisa meletakkan di folder D:\master \ci2_autocomplete.php (Nama file bisa bebas)

2. Copy paste script php berikut ke dalam file tersebut

<?php /** * @property CI_DB_active_record $db * @property CI_DB_forge $dbforge * @property CI_Benchmark $benchmark * @property CI_Calendar $calendar * @property CI_Cart $cart * @property CI_Config $config * @property CI_Controller $controller * @property CI_Email $email * @property CI_Encrypt $encrypt * @property CI_Exceptions $exceptions * @property CI_Form_validation $form_validation * @property CI_Ftp $ftp * @property CI_Hooks $hooks * @property CI_Image_lib $image_lib * @property CI_Input $input * @property CI_Language $language * @property CI_Loader $load * @property CI_Log $log * @property CI_Model $model * @property CI_Output $output * @property CI_Pagination $pagination * @property CI_Parser $parser * @property CI_Profiler $profiler * @property CI_Router $router * @property CI_Session $session * @property CI_Sha1 $sha1 * @property CI_Table $table * @property CI_Trackback $trackback * @property CI_Typography $typography * @property CI_Unit_test $unit_test * @property CI_Upload $upload * @property CI_URI $uri * @property CI_User_agent $user_agent * @property CI_Validation $validation * @property CI_Xmlrpc $xmlrpc * @property CI_Xmlrpcs $xmlrpcs * @property CI_Zip $zip */ class CI_Controller {}; /** * @property CI_DB_active_record $db * @property CI_DB_forge $dbforge * @property CI_Config $config * @property CI_Loader $load * @property CI_Session $session */ class CI_Model {}; ?>


3. Buka software Netbeans PHP , masuk ke menu TOOLS -> OPTIONS ->PHP -> GLOBAL INCLUDE PATH -> Browse file ci2_autocomplete.php yang telah anda buat

4. Tutup Netbeans PHP Anda

5. Buka kembali netbeans dan selanjutnya project Code Igniter anda sudah memiliki code snippets lengkap saat anda mengetikkan kode program Anda

Terima kasih

Oleh :

Hery Purnama http://freelance-it-trainer.blogspot.com

English Translation

How to display code snipets Code Igniter 2.0 in NetBeans IDE for PHP
1. Create a new file and place it outside the folder of your web project, for example, you can put in the folder D: \ master \ ci2_autocomplete.php (you may use any name for the file)

2. Copy and paste the following php script into the file

<? Php
/ **
*property CI_DB_active_record $ db
*property CI_DB_forge $ dbForge
*property CI_Benchmark $ benchmarks
*property CI_Calendar $ calendar
*property CI_Cart $ cart
*property CI_Config $ config
*property CI_Controller $ controller
*property CI_Email $ email
*property CI_Encrypt $ encrypt
*property CI_Exceptions $ exceptions
*property CI_Form_validation $ form_validation
*property CI_Ftp $ ftp
*property CI_Hooks $ hooks
*property CI_Image_lib $ image_lib
*property CI_Input $ input
*property CI_Language $ language
*property CI_Loader $ load
*property CI_Log $ log
*property CI_Model $ models
*property CI_Output $ output
*property CI_Pagination $ pagination
*property CI_Parser $ parser
*property CI_Profiler $ profiler
*property CI_Router $ router
*property CI_Session $ session
*property CI_Sha1 $ sha1
*property CI_Table $ table
*property CI_Trackback $ trackback
*property CI_Typography $ typography
*property CI_Unit_test $ unit_test
*property CI_Upload $ uploaded
*property CI_URI $ uri
*property CI_User_agent $ User_Agent
*property CI_Validation $ validation
*property CI_Xmlrpc $ XMLRPC
*property CI_Xmlrpcs $ xmlrpcs
*property CI_Zip $ zip
* /

CI_Controller class {};

/ **
*property CI_DB_active_record $ db
*property CI_DB_forge $ dbForge
*property CI_Config $ config
*property CI_Loader $ load
*property CI_Session $ session
* /

CI_Model class {};

?>

3. Open the Netbeans PHP software, go to the menu TOOLS -> OPTIONS -> PHP -> GLOBAL PATH INCLUDE -> Browse > ci2_autocomplete.php , the file that you created

4. Close your PHP Netbeans software

5. Open the software and now your code snippets will show up everytime you write your CI class methode code

Thank you

By Hery Purnama http://freelance-it-trainer.blogspot.com

Comments

Popular posts from this blog

Training PHP JQuery bersama PT.GSP bandung

Terima kasih kami ucapkan kepada peserta dari PT . GSP Bandung yang telah mengikuti Training PHP JQuery di SISINDOTEK Bandung Salam, SISINDOTEK - IT Training & Solution Provider Jl. Sukasenang VI-6B Bandung - Jawa Barat 40124 Tel. 022-71242266 , SMS. 0812.8733.1966 info , YM. sisindotek www.sisindotek.com , facebook.com/sisindotek , twitter.com/sisindotek

Training MS Project Secara Online - Hery Purnama

Home  » » Training Online Microsoft Project dan VBA Macro - Hery Purnama Training Online Microsoft Project dan VBA Macro - Hery Purnama 9:24 AM       No comments Mau tetap bisa training MS Project bersama Hery Purnama ditengah masa Panedemi COVID-19, tidak usah khawatir kini saya membuka kelas webinar  MS Project dan Excel VBA Macro (Senin-Sabtu) dengan 3 slot waktu 09.00-11.30 , 13.00 - 15.30 , 19.30 - 22.00 , book sekarang karena peminat sangat banyak sampai saat ini, hubungi 081-223344-506 Regards, HERY PURNAMA Certified IT Trainer http://www.inhousetrainer.net E-mail :  inhousetrainer@yahoo.com ,  hery.purnama@gmail.com  Call/ SMS/WA :  081.223344.506 , BBM : 7DC633AA      Social Net :   facebook.com/inhousetrainer   twitter.com/inhousetrainer   instagram.com/inhousetrainer Hometown : Bandung - Jawa Barat

WHAT IS COBIT ISACA

What is COBIT? COBIT stands for Control Objectives for Information and Related Technology. It is a framework  created by the ISACA (Information Systems Audit and Control Association). It was designed to be a  supportive tool for managers—and allows bridging the crucial gap between technical issues,  business risks, and control requirements. COBIT is a thoroughly recognized guideline that can be applied to any organization in any  industry. Overall, COBIT ensures quality, control, and reliability of information systems in an  organization, which is also the most important aspect of every modern business. Cybersecurity Expert Master's Program Master the Skills of a Cybersecurity ProfessionalVIEW COURSECybersecurity Expert Master's Program What is ISACA? ISACA stands for Information Systems Audit and Control Association. It develops controls and  guidance for information governance, security, control, and audit professionals. This i...