Version 0.3.3
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
dmzx_mchat_controller:
|
||||
path: /mchat
|
||||
defaults: { _controller: dmzx.mchat.controller:handle }
|
||||
defaults: { _controller: dmzx.mchat.main.controller:page, page: custom }
|
||||
dmzx_mchat_page_controller:
|
||||
path: /mchat/{page}
|
||||
defaults: { _controller: dmzx.mchat.main.controller:page }
|
||||
requirements:
|
||||
action: 'archive|rules|whois'
|
||||
dmzx_mchat_action_controller:
|
||||
path: /mchat-{action}
|
||||
defaults: { _controller: dmzx.mchat.main.controller:action }
|
||||
requirements:
|
||||
action: 'add|edit|del|clean|refresh|whois'
|
||||
|
||||
@@ -5,63 +5,53 @@ services:
|
||||
dmzx.mchat.admin.controller:
|
||||
class: dmzx\mchat\controller\admin_controller
|
||||
arguments:
|
||||
- '@dmzx.mchat.functions_mchat'
|
||||
- '@config'
|
||||
- '@template'
|
||||
- '@log'
|
||||
- '@user'
|
||||
- '@dbal.conn'
|
||||
- '@cache'
|
||||
- '@request'
|
||||
- '@ext.manager'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
- '%dmzx.mchat.table.mchat_config%'
|
||||
dmzx.mchat.controller:
|
||||
class: dmzx\mchat\controller\mchat
|
||||
dmzx.mchat.main.controller:
|
||||
class: dmzx\mchat\controller\main_controller
|
||||
arguments:
|
||||
- '@dmzx.mchat.render_helper'
|
||||
- '@dmzx.mchat.core'
|
||||
- '@request'
|
||||
dmzx.mchat.render_helper:
|
||||
class: dmzx\mchat\core\render_helper
|
||||
dmzx.mchat.core:
|
||||
class: dmzx\mchat\core\mchat
|
||||
arguments:
|
||||
- '@dmzx.mchat.functions_mchat'
|
||||
- '@config'
|
||||
- '@controller.helper'
|
||||
- '@template'
|
||||
- '@log'
|
||||
- '@user'
|
||||
- '@auth'
|
||||
- '@dbal.conn'
|
||||
- '@pagination'
|
||||
- '@request'
|
||||
- '@dispatcher'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
- '%dmzx.mchat.table.mchat%'
|
||||
dmzx.mchat.functions_mchat:
|
||||
class: dmzx\mchat\core\functions_mchat
|
||||
arguments:
|
||||
- '@config'
|
||||
- '@template'
|
||||
- '@user'
|
||||
- '@auth'
|
||||
- '@log'
|
||||
- '@dbal.conn'
|
||||
- '@cache'
|
||||
- '@cache.driver'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
- '%dmzx.mchat.table.mchat%'
|
||||
- '%dmzx.mchat.table.mchat_config%'
|
||||
- '%dmzx.mchat.table.mchat_sessions%'
|
||||
dmzx.mchat.listener:
|
||||
class: dmzx\mchat\event\listener
|
||||
arguments:
|
||||
- '@dmzx.mchat.functions_mchat'
|
||||
- '@dmzx.mchat.render_helper'
|
||||
- '@auth'
|
||||
- '@dmzx.mchat.core'
|
||||
- '@controller.helper'
|
||||
- '@template'
|
||||
- '@user'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
parameters:
|
||||
dmzx.mchat.table.mchat: %core.table_prefix%mchat
|
||||
dmzx.mchat.table.mchat_config: %core.table_prefix%mchat_config
|
||||
dmzx.mchat.table.mchat_sessions: %core.table_prefix%mchat_sessions
|
||||
dmzx.mchat.table.mchat_sessions: %core.table_prefix%mchat_sessions
|
||||
|
||||
Reference in New Issue
Block a user