https://github.com/gueff/mymvc_module_infotool
This is a Module for myMVC (https://github.com/gueff/myMVC) which places an InfoTool-Bar at the bottom of the Frontend. Serving lots of Infos about the Environment, Configuration and more.
https://github.com/gueff/mymvc_module_infotool
mymvc php
Last synced: about 1 year ago
JSON representation
This is a Module for myMVC (https://github.com/gueff/myMVC) which places an InfoTool-Bar at the bottom of the Frontend. Serving lots of Infos about the Environment, Configuration and more.
- Host: GitHub
- URL: https://github.com/gueff/mymvc_module_infotool
- Owner: gueff
- Created: 2018-02-12T09:29:56.000Z (over 8 years ago)
- Default Branch: 1.x
- Last Pushed: 2022-08-07T10:45:07.000Z (almost 4 years ago)
- Last Synced: 2025-02-06T07:46:23.446Z (over 1 year ago)
- Topics: mymvc, php
- Language: Smarty
- Homepage:
- Size: 46.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# myMVC_module_InfoTool
This is a Debug-Toolbar module for myMVC Version 2.0.1: https://github.com/gueff/myMVC/releases/tag/2.0.1
- _If you need this for myMVC < 2.0.0, take Version 1.1.2 of myMVC_module_InfoTool: https://github.com/gueff/myMVC_module_InfoTool/releases/tag/1.1.2_
- _If you need this for myMVC < 1.2.0, take Version 1.0.0 of myMVC_module_InfoTool: https://github.com/gueff/myMVC_module_InfoTool/releases/tag/1.0.0_
## 1. Download this Repository
and place it inside myMVC's `modules` folder:
~~~
application
config
modules
[..]
InfoTool
Model
templates
README.md
[..]
public
composer.json
myMVC.phar
README.md
~~~
## 2. Activate via Event Listener
~~~
/** @var \MVC\DataType\DTArrayObject $oDTArrayObject */
'mvc.reflex.reflect.targetObject.after' => function (\MVC\DataType\DTArrayObject $oDTArrayObject) {
$oView = $oDTArrayObject
->getDTKeyValueByKey('oReflectionObject')
->get_sValue()
->oView;
// switch on InfoTool
new \InfoTool\Model\Index ($oView);
},
~~~