Plz, help me to show function list codeigniter
-
np only show function list with pure php, plz, how to show function list codeigniter,
-
Could you provide more information e.g. about the differences between vanilla/pure PHP and CodeIgniter PHP.
-
npp only work with function abc(){}
npp dont work with public function abc(){} -
Is that the only issue or are there more?
Could you provide an example file for tests? -
<?php if (!defined(‘BASEPATH’)) exit(‘No direct script access allowed’);
class News_frontend extends MY_Controller
{
function __construct()
{
parent::__construct();
$this->load->helper(‘url’);} //News list public function news_content($alias){ $data['news']=$this->f_homemodel->getItemByAlias('news',$alias); $title='Tin tức | '.$data['news']->title; $keyword=$data['news']->keyword; $description=$data['news']->description; $this->load->view('news_content',$data); } private function admin_acc(){ $description=$data['acc']->description; $this->load->view('admin_news',$data); } -
#np show “function list” with pure php
see url =>http://www.caychumngay.org.vn/images/work.png#np don’t show “function list” with fw codeigniter
see url =>http://www.caychumngay.org.vn/images/dontwork.pngis someone how to show this
-
Hello Khanh Minh
May be, @mapje71, ( expert in function list features ! ) will confirm my idea but just follow these few steps to get it worked as you would like to !
-
Open your active functionList.xml file, in Notepad++
-
Pinpoint, at the end of the PHP parser, the <function section, as below :
<parser id=“php_function” displayName=“PHP” commentExpr=“((/*.?*)/|(//.?$))”
…
…
…
…
…
<function …
…
…
</function>
</parser> -
Replace the present
mainExprattribute :mainExpr=“^[\s]*function[\s]+\w+(”
by the new expression, below :
mainExpr="^[\s]*((static|public|protected|private|final)*(\s+(static|public|protected|private|final))+[\s]+)?function[\s]+\w+\("-
Save the changes of the functionList.xml file
-
Close and restart Notepad++
-
Open your PHP file
It should be OK, by now :-))
Best Regards,
guy038
-
-
Result when using
functionList.xmlas included in Notepad++ v7.1 …

-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login