我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

从CodeIgniter库中获取CodeIgniter Controller方法名称

I need to get CodeIgniter controller methods names from a codeigniter Library.

I figured i can't include the controller file inside the Library to create a new instance, because codeigniter has it yet loaded.

The plan was to pass the controller instance to the PHP reflectionClass to fetch every public method.

Is there any way to solve this problem?

近期文章

  • 如何使用PHP循环使用foreach循环数组?
  • 写入表时,新获取的行将覆盖前一行
  • 我需要使用godaddy托管删除.php扩展名
  • 如何从Jenkins编辑HTML页面
  • 限制在restful PHP API中的操作
  • 在PHP中获取stdclass和数组值[重复]
  • 为什么这个url生成404未找到异常?
  • 身份验证错误WHile在php中发送邮件
  • 从php脚本发送到mySQL的双重条目
  • 如何通过PHP创建文本文件并在用户计算机中下载文本文件
  • 服务器套接字问题[PHP]
  • Yii从index和ajax登录验证码登录错误
  • 如何将param对象传递给d3.json?
  • 如果选择了选项,则在另一个选项中显示值
  • 按组ID查看mysql顺序的最新存储值
  • 在laravel5.1中向资源控制器添加一个控制器?
  • 登录一次后,.htaccess无效的密码保护文件夹
  • 我如何通过php发送电子邮件到我的收件箱联系我们页面html [复制]
  • 返回MySQL中相同id组的最后一个插入行
  • 当我在Wordpress上安装时,HTML主题的Slider插件将无法正常工作

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华