Каков наилучший способ получить список всех основных и пользовательских точек входа?

Я довольно много работаю с пользовательскими точками входа в SugarCRM и SuiteCRM. Мне было интересно, есть ли быстрый способ перечислить каждую точку входа и связанный с ней файл?


person Kathir Sid Vel    schedule 19.04.2017    source источник
comment
Мой ответ на ваш другой пост (stackoverflow.com/questions/43489844/), отмечая, что расположение каталогов отвечает на это достаточно?   -  person Reisclef    schedule 21.04.2017
comment
Начиная с SugarCRM 7.7 site_url/rest/v10/help — правильный способ получить подробную информацию обо всем этом. support.sugarcrm.com/Documentation/Sugar_Developer/   -  person sw0rdfishhhhh    schedule 07.07.2017


Ответы (1)


Точки входа могут быть определены во многих местах, ключ здесь будет заключаться в том, чтобы найти все файлы определений, а затем cat каждый из них, чтобы узнать, что они делают.

Возможные точки входа

  • custom Extension-Framework, application-wide entry points:
    • $ ls -1d custom/Extension/application/Ext/EntryPointRegistry
  • custom Extension-Framework, module-specific entry points:
    • $ ls -1d custom/Extension/modules/*/Ext/EntryPointRegistry
  • custom non-ext-framework (legacy), application-wide entry points
    • $ ls custom/include/MVC/Controller/entry_point_registry.php
  • custom non-ext-framework (legacy) module-specific entry points are housed in custom/modules...
    • $ ls custom/modules/*/entry_point_registry.php
  • These can be in the root level module dir as well. I don't think any out of the box modules ever did this, but you could do it with a custom module
    • $ ls modules/*/entry_point_registry.php
  • Out-of-the-box application wide entry points...
    • include/MVC/Controller/entry_point_registry.php
person Matthew Poer    schedule 26.04.2017