dongpanshi2839 2011-02-02 21:26
浏览 28
已采纳

接口的CodeIgniter命名约定

I can't seem to find a reference for CodeIgniter's naming convention for interfaces. Is there one? Can anyone suggest one?

FYI: CodeIgniter uses this for classes: Foo_bar. Zend uses something like this for interfaces: Foo_Bar_PluginInterface.

  • 写回答

2条回答 默认 最新

  • doz59484 2011-02-02 21:35
    关注

    Not sure exactly what you mean by interface, but if you mean Class names, then after a quick look at their documentation tells me you are right with Foo_bar.

    Update

    I do not think there is a set convention for the use of interfaces in Codeigniter, at least not stated by Ellislab.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 linux驱动,linux应用,多线程
  • ¥20 我要一个分身加定位两个功能的安卓app
  • ¥15 基于FOC驱动器,如何实现卡丁车下坡无阻力的遛坡的效果
  • ¥15 IAR程序莫名变量多重定义
  • ¥15 (标签-UDP|关键词-client)
  • ¥15 关于库卡officelite无法与虚拟机通讯的问题
  • ¥15 目标检测项目无法读取视频
  • ¥15 GEO datasets中基因芯片数据仅仅提供了normalized signal如何进行差异分析
  • ¥100 求采集电商背景音乐的方法