【问题标题】:What is the best way to retrieve a list of all core and custom entry points?检索所有核心和自定义入口点列表的最佳方法是什么?
【发布时间】:2017-04-19 07:57:49
【问题描述】:

我在 SugarCRM 和 SuiteCRM 中使用了很多自定义入口点。我想知道是否有一种快速的方法来列出每个入口点以及与之关联的文件?

【问题讨论】:

标签: sugarcrm suitecrm


【解决方案1】:

入口点可以定义在很多地方,这里的关键是找到所有的定义文件,然后cat每一个找到他们在做什么。

可能的入口点位置

  • 自定义扩展框架,应用程序范围的入口点:
    • $ ls -1d custom/Extension/application/Ext/EntryPointRegistry
  • 自定义扩展框架,特定于模块的入口点:
    • $ ls -1d custom/Extension/modules/*/Ext/EntryPointRegistry
  • 自定义非 ext 框架(旧版)、应用程序范围的入口点
    • $ ls custom/include/MVC/Controller/entry_point_registry.php
  • 自定义非扩展框架(旧版)特定于模块的入口点位于 custom/modules...
    • $ ls custom/modules/*/entry_point_registry.php
  • 这些也可以在根级模块目录中。我认为任何开箱即用的模块都没有这样做过,但是您可以使用自定义模块来做到这一点
    • $ ls modules/*/entry_point_registry.php
  • 开箱即用的应用程序范围入口点...
    • include/MVC/Controller/entry_point_registry.php

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-01-14
    • 2017-10-10
    • 2015-12-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多