\FireGento_MageMonitoring_Model_Widget_System_Abstract
class FireGento_MageMonitoring_Model_Widget_System_Abstract
- Author: FireGento Team <team@firegento.com>
Synopsis
- // Inherited constants from FireGento_MageMonitoring_Model_Widget_Abstract
- const CONFIG_START_COLLAPSED = 'collapsed';
- const CONFIG_DISPLAY_PRIO = 'display_prio';
- const CONFIG_PRE_KEY = 'widgets';
- const CALLBACK = 'cb:';
- // members
- protected $_serverInfo = null;
- protected $_mageInfo = null;
- // Inherited members from FireGento_MageMonitoring_Model_Widget_Abstract
- protected integer $_defStartCollapsed;
- protected integer $_defDisplayPrio;
- protected $_dbConfigKey;
- protected $_tabId;
- protected array $_output;
- protected array $_config;
- protected array $_report;
- protected $_renderer;
- // methods
- protected void _getNodeName()
- public string getServerInfo()
- public string|null getMemoryInfo()
- public string|null _getTopMemoryInfo()
- public null|string getCpuInfo()
- public mixed getMagentoInfo()
- protected null|string _getBsdCpuInfo()
- public string getOsInfo()
- protected array _getValue()
- public array|null getMagentoStatInfo()
- // Inherited methods from FireGento_MageMonitoring_Model_Widget_Abstract
- public array getOutput()
- public FireGento_MageMonitoring_Block_Widget_Multi newMultiBlock()
- public string getTabId()
- public string getConfigId()
- public string getId()
- protected $this _renderConfigChecks()
- protected array|SimpleXMLElement _getConfigValues()
- protected abstract string _getNodeName()
- protected $this _checkConfigValue()
- public FireGento_MageMonitoring_Block_Widget_Multi_Renderer_Abstract getRenderer()
- public void setRenderer()
- protected FireGento_MageMonitoring_Helper_Data _getHelper()
- protected array _getRowConfig()
- protected $this _renderMoreChecks()
- public void isActive()
- public void displayCollapsed()
- public array|bool getConfig()
- public void initConfig()
- public FireGento_MageMonitoring_Model_Widget addConfigHeader()
- public $this addConfig()
- public void getDisplayPrio()
- public FireGento_MageMonitoring_Block_Widget_Monitoring newMonitoringBlock()
- public FireGento_MageMonitoring_Model_Widget_Abstract dump()
- public array loadConfig()
- public FireGento_MageMonitoring_Helper_Data getHelper()
- public $this saveConfig()
- public $this deleteConfig()
- public $this addReportRow()
- public string getVersion()
- protected bool _checkVersions()
- public string getSupportedMagentoVersions()
Hierarchy
Tasks
Line | Task |
---|---|
609 | do proper merge, things will go probably south for code below. |
Constants
Name | Value |
---|---|
CONFIG_START_COLLAPSED | 'collapsed' |
CONFIG_DISPLAY_PRIO | 'display_prio' |
CONFIG_PRE_KEY | 'widgets' |
CALLBACK | 'cb:' |
Members
protected
- $_config
- $_dbConfigKey
- $_defDisplayPrio
- $_defStartCollapsed
- $_mageInfo
- $_output
-
$_renderer
@var FireGento_MageMonitoring_Block_Widget_Multi_Renderer_Abstract $_renderer - $_report
- $_serverInfo
- $_tabId
Methods
protected
- _getBsdCpuInfo() — Returns server's cpu information on BSD servers
- _getNodeName() — Returns node name
- _getValue() — Outputs requested $_SERVER parameter
public
- _getTopMemoryInfo() — Returns memory size. Alternative way
- getCpuInfo() — Returns server's CPU information. Supposed to be working only on LINUX servers
- getMagentoInfo() — Returns requested Magento information
- getMagentoStatInfo() — Collects some useful (and not) statistic information from Magento
- getMemoryInfo() — Returns memory size. Supposed to be working only on LINUX servers
- getOsInfo() — Returns OS information
- getServerInfo() — Returns requested parameter's value from the $_SERVER variable
Inherited from FireGento_MageMonitoring_Model_Widget_Abstract
protected
- _checkConfigValue() — Check a given configuration value concerning an optional recommendation
- _checkVersions() — Check Versions
- _getConfigValues() — Return configuration params from config.xml
- _getHelper() — Get an instance of the module's data helper.
- _getNodeName() — Returns the name of the widgets xml node
- _getRowConfig() — Get a row configuration.
- _renderConfigChecks() — Render configuration checks defined in config.xml
- _renderMoreChecks() — Render additional checks.
public
- addConfig() — Add Configuration
- addConfigHeader() — Add empty or header row to config modal output.
- addReportRow() — Adds another row to watch dog report output.
- deleteConfig() — Delete Config
- displayCollapsed() — Returns true if widget should start collapsed, speeds up loading times as the widget won't render it's content on page load.
- dump() — Adds $string to output.
- getConfig() — Get Config
- getConfigId() — Returns db config key, returns last 2 parts of classname with appended random string as default.
- getDisplayPrio() — Returns true if widget should start collapsed, speeds up loading times as the widget won't render it's content on page load.
- getHelper() — Get Helper
- getId() — Returns unique widget id. You really don't want to override is. ;)
- getOutput() — Used to render the widget, returns array of classes that have a ->toHtml() method.
- getRenderer() — Get the renderer.
- getSupportedMagentoVersions() — Get Supported Magento Versions
- getTabId() — Get Tab Id
- getVersion() — Get Version
- initConfig() — Returns array with default config data for this widget or false if not implemented.
- isActive() — Returns true if this widget is active.
- loadConfig() — Load Config
- newMonitoringBlock() — New Monitoring Block
- newMultiBlock() — New Multi Block
- saveConfig() — Save config in $post to core_config_data, can handle raw $_POST or widget config arrays if $postOnly is true.
- setRenderer() — Set the renderer.
History
-
2015-05-15T11:06:15+02:00 (commit #1b13d79)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Rename Firegento to case sensitive FireGento
-
2015-05-13T23:46:13+02:00 (commit #6d2184c)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Replace Hackathon namespace to Firegento into all code files
-
2015-05-13T23:34:26+02:00 (commit #3cf482b)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Replace Hackathon namespace to Firegento for the main code folder
-
2015-05-13T23:20:49+02:00 (commit #2534802)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Move source code of the extension to the src folder and set modman with firegento namespace
-
2015-05-10T11:23:29+02:00 (commit #6abafe5)
Author: Daniel Zohm (daniel.zohm@aoe.com) / Commiter: Daniel Zohm (daniel.zohm@aoe.com)
Code standard fixings
-
2015-05-10T11:10:01+02:00 (commit #7454b5f)
Author: Andreas Koch (andreas.koch@bertelsmann.de) / Commiter: Andreas Koch (andreas.koch@bertelsmann.de)
Integrated additional monitors (from Benjamin Wunderlich): SEO, Privacy, Security, Maintenance, Community Extensions, Log & Reports, Hosting, Root Files, Performance, Patches
-
2015-05-09T19:26:42+02:00 (commit #55b76a3)
Author: Daniel Zohm (daniel.zohm@aoe.com) / Commiter: Daniel Zohm (daniel.zohm@aoe.com)
Code standard fixings
-
2014-03-02T02:45:54+01:00 (commit #b8c70aa)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Merge branch 'develop' of https://github.com/magento-hackathon/Hackathon_MageMonitoring into develop Merge HealthCheck Project Conflicts: app/code/community/Hackathon/MageMonitoring/Block/System/Overview/Read/Tabs.php app/code/community/Hackathon/MageMonitoring/Model/Widget/CacheStat/Abstract.php
-
2014-02-24T23:09:35+01:00 (commit #2bb195a)
Author: Erik Dannenberg (erik.dannenberg@bbe-consulting.de) / Commiter: Erik Dannenberg (erik.dannenberg@bbe-consulting.de)
Decoupled tabs, configurable via config.xml. Widget config supports scoping.
-
2014-02-14T14:57:17+01:00 (commit #12d080a)
Author: Erik Dannenberg (erik.dannenberg@bbe-consulting.de) / Commiter: Erik Dannenberg (erik.dannenberg@bbe-consulting.de)
Refactored tabs to one template. Some preparations for watch dogs.
-
2014-02-08T07:08:17+01:00 (commit #9bf9244)
Author: Erik Dannenberg (erik.dannenberg@bbe-consulting.de) / Commiter: Erik Dannenberg (erik.dannenberg@bbe-consulting.de)
Refactored overview and logs tab to new widget interface.
-
2014-02-03T14:49:12+01:00 (commit #adab362)
Author: Alexander Turiak (alex@hexbrain.com) / Commiter: Alexander Turiak (alex@hexbrain.com)
More detailed version info, fixed block name reference
-
2014-02-01T18:16:58+01:00 (commit #fe9f90c)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
add controller for caches flushing, fix recommended value for php info, change how to retrieve Magento edition
-
2014-02-01T15:37:37+01:00 (commit #eb9c3ba)
Author: enarc (enarc@atwix.com) / Commiter: enarc (enarc@atwix.com)
Some missing PHPDocs
-
2014-02-01T14:50:30+01:00 (commit #788a180)
Author: Alexander Turiak (alex@hexbrain.com) / Commiter: Alexander Turiak (alex@hexbrain.com)
Renamed 'Main Information' tab to 'System Overview'
-
2014-02-01T14:44:06+01:00 (commit #c094ba1)
Author: enarc (enarc@atwix.com) / Commiter: enarc (enarc@atwix.com)
Additional magento info were added on the Main tab
-
2014-02-01T14:24:55+01:00 (commit #694f4e0)
Author: Alexander Turiak (alex@hexbrain.com) / Commiter: Alexander Turiak (alex@hexbrain.com)
Code style fixes
-
2014-02-01T14:15:38+01:00 (commit #6298b4f)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
add PHP information, fix main.php tab (had an issue with delimiter in preg_match)
-
2014-02-01T13:51:18+01:00 (commit #162874c)
Author: Alexander Turiak (alex@hexbrain.com) / Commiter: Alexander Turiak (alex@hexbrain.com)
Added a few sanity checks for main info section
-
2014-02-01T12:08:45+01:00 (commit #b0d0837)
Author: enarc (enarc@atwix.com) / Commiter: enarc (enarc@atwix.com)
Magento Info section concept
-
2014-02-01T11:56:44+01:00 (commit #a317d55)
Author: enarc (enarc@atwix.com) / Commiter: enarc (enarc@atwix.com)
CPU information for different platforms on the Main tab
-
2014-02-01T11:15:45+01:00 (commit #e48b9ed)
Author: enarc (enarc@atwix.com) / Commiter: enarc (enarc@atwix.com)
Basic server information on the Main tab
-
2014-01-31T22:41:53+01:00 (commit #6379a60)
Author: Alexander Turiak (alex@hexbrain.com) / Commiter: Alexander Turiak (alex@hexbrain.com)
Added rewrites tab, minor code refactoring
-
2014-01-31T22:13:03+01:00 (commit #777526f)
Author: Nick Kravchuk (nick@hexbrain.com) / Commiter: Nick Kravchuk (nick@hexbrain.com)
Code style fixes
-
2014-01-31T21:31:28+01:00 (commit #3d916f5)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
add gitignore
-
2014-01-31T21:28:35+01:00 (commit #0c56d02)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Change Namespace (problem may occurred not tested )