什么是基于Zend的SocialEngine的结构

时间:2017-08-07 09:43:03

标签: php zend-framework module structure socialengine

我想知道社交引擎的结构是什么。例如,如果我想转到该页面的URL为" http://example.com/stores/products"的页面,我如何找到控制器,模型,视图? 当我去指导申请时,我看到了这些:

languages
libraries
modules
plugins
settings
themes
widgets

当我进入模块时,我看到添加到网站的所有模块包括:

Sitestore
Sitestorealbum
Sitestoreform
Sitestoreproduct
Siteverify
Sitevideo

依旧......

当我以Sitestore为例时,我看到了这些:

Api
controllers
externals
Form
Model
Plugin
settings
View
views
widgets

但即使是现在,我也不知道在哪里可以找到与上述网址相关的文件。

告诉我你是否想知道每个文件中的内容。

鉴赏

1 个答案:

答案 0 :(得分:0)

您可以在manifest.php下的modules/XYZ/settings/manifest.php获取控制器和操作名称。

示例,/stores/products

转到模块/Sitestoreproduct/settings/manifest.php

在这里,您可以看到商店模块和产品模块的slug_

对于核心模块,您将仅在/settings/manifest.php中找到网址结构,但在第三方模块中,SEAO和其他模块通过使子模块动态化来扩展子模块。

希望它能帮助你理解。