[ERROR#1] Interaction with other modules — Documentation — DIAFAN.CMS

Interaction with other modules

Some modules need to take into account other modules in their work. These features should be described in other modules files in the proper format.

In the standard DIAFAN.CMS has three modules that require configuration files-in modules that use them:

  • Sitemap requires file modules/module_name/module_name.sitemap.php;
  • Search requires file modules/module_name/module_name.search.php;
  • Menu requires file modules/module_name/admin/module_name.admin.menu.php.

File format laid down in the plug-in.

Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor
#1 include_once() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499]
#2 Docs_model->prepare_text( Some modules need to take into account other modules in their work. These features should be described in other modules files in the proper format. In the standard DIAFAN.CMS has three modules that ...) called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:94]
#3 Docs_model->show() called at [/var/www/diafan/data/www/diafancms.com/modules/docs/docs.php:29]
#4 Docs->init() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:474]
#5 Init->module() called at [/var/www/diafan/data/www/diafancms.com/includes/init.php:119]
#6 Init->start() called at [/var/www/diafan/data/www/diafancms.com/index.php:62]
/var/www/diafan/data/www/diafancms.com/modules/docs/docs.model.php:499