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

Profil / Biografi singkat Prabowo Subianto

Profil /Biografi Prabowo Memiliki nama lengkap Prabowo Subianto Djojohadikusumo, lahir di Jakarta, 17 Oktober 1951, umur 62 tahun. Dia merupakan seorang Letnan Jenderal TNI (Purnawirawan). Prabowo merupakan putra dari pasangan Soemitro Djojohadikusumo, ekonom Indonesia dan Dora Marie Sigar, atau lebih dikenal dengan nama Dora Soemitro. Dia cucu dari Raden Mas Margono Djojohadikusumo, anggota Badan Penyelidik Usaha-usaha Persiapan Kemerdekaan Indonesia (BPUPKI), pendiri Bank Negara Indonesia (BNI) dan Ketua Dewan Pertaimbangan Agung (DPA) pertama. Prabowo memiliki dua kakak perempuan, Bintianingsih dan Mayrani Ekowati, serta satu orang adik, Hashim Djojohadikusumo. Saat ini, Hashim dikenal sebagai seorang pengusaha handal, dengan bisnis di puluhan negara termasuk Kanada, Rusia dan Indonesia. Sedangkan karier militer Prabowo dimulai tahun 1970, dengan mendaftar di Akademi Militer (Akmil) Magelang. Dia lulus tahun 1974, satu tahun setelah Presiden Susilo Bambang Yudhoyono (SBY) lulus. Tah...

Laravel Training Purnama Academy

Nov 2018 Purnama Academy 0838-0838-0001 Kursus Laravel Training Center INdonesia, jakarta, Bandung, Bogor, Semarang, Yogya, Palembang kalimantan, surabaya visit www.purnamaacademy.com , Laravel - Online Courses, Classes, Training, Tutorials on Lynda https://www.lynda.com/Laravel-training-tutorials/2779-0.html Learn how to use Laravel, from beginner basics to advanced techniques, with online video tutorials taught by industry experts. Top Laravel Courses Online - Updated November 2018 | Udemy https://www.udemy.com/topic/laravel/ Whether you're interested in developing web apps in the Laravel PHP framework, or building a RESTful API with Laravel, Udemy has a course to help you ... PHP Laravel Framework | Brainmatics.Com brainmatics.com/php-laravel-framework/ Translate this page Laravel merupakan framework PHP yang dirancang untuk membangun situs web ... Pada training ini diharapkan mampu membantu meningkatkan kemampuan ... Dec 3 - Dec 6 Brainmatics Laravel training - Laracasts htt...

tempat training komputer di bandung

Jadwal training, kursus komputer sisindotek Bandung GRA-03 - Google Sketchup 3D for Building Interior 3 Hari , Start : 6,20 Oct , 3 Nov, 8 Dec 2014 GUI-02 - Building ASP.Net Application with IronSpeed Designer 4 Hari , Start : 13, 27 Oct, 10, 24 Nov , 1,15 Dec 2014 API-02 - Building Integrated Map Website with PHP MySQL and Google Map API V.3 3 Hari , Start : 6,20 Oct , 3 Nov, 8 Dec 2014 NTW-04 - Installing and Configuring Exchange Server 2008 4 Hari , Start : 13, 27 Oct, 10, 24 Nov , 1,15 Dec 2014 CMS-03 - Web Development with PHP CodeIgniter 3 Hari , Start : 6,20 Oct , 3 Nov, 8 Dec 2014 PRO-01 - Computer for Secretary and Admin Staff (Networking Essential, MS. Outlook, Document Security and sharing, MS. Office Integration, File Archive and data backup - Recovery, etc.) 3 Hari , Start : on demand PRG-06 - Building Event Scheduler System with PHP AJAX and SMS Gateway 4 Hari , Start : 13, 27 Oct, 10, 24 Nov , 1,15 Dec 2014 NTW-03 - Installing, Configuring and Administering UBUNT...