\FireGento_MageMonitoring_Model_Widget_HealthCheck_Mediasize
class FireGento_MageMonitoring_Model_Widget_HealthCheck_Mediasize
- Author: FireGento Team <team@firegento.com>
Synopsis
- // constants
- const CONFIG_ALLOW_SLOW_MODE = 'allow_slow_mode';
- // 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 boolean $_defAllowSlowMode = false;
- // 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
- public void getName()
- public void initConfig()
- protected array _getDirectorySize()
- public array getOutput()
- protected void _getNodeName()
- // 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
Extends
Implements
Tasks
Line | Task |
---|---|
609 | do proper merge, things will go probably south for code below. |
Constants
Name | Value |
---|---|
CONFIG_ALLOW_SLOW_MODE | 'allow_slow_mode' |
CONFIG_START_COLLAPSED | 'collapsed' |
CONFIG_DISPLAY_PRIO | 'display_prio' |
CONFIG_PRE_KEY | 'widgets' |
CALLBACK | 'cb:' |
Members
protected
- $_config
- $_dbConfigKey
- $_defAllowSlowMode
- $_defDisplayPrio
- $_defStartCollapsed
- $_output
-
$_renderer
@var FireGento_MageMonitoring_Block_Widget_Multi_Renderer_Abstract $_renderer - $_report
- $_tabId
Methods
protected
- _getDirectorySize() — Gets directory size
- _getNodeName() — Returns node name
public
- getName() — Returns name
- getOutput() — Fetches and returns output
- initConfig() — Inits configuration
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:47:19+02:00 (commit #dec5ebf)
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-09T18:55:34+02:00 (commit #abae8a9)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Coding Standards for Watchdogs and some other classes
-
2015-05-09T18:14:45+02:00 (commit #68a4545)
Author: Daniel Zohm (daniel.zohm@aoe.com) / Commiter: Daniel Zohm (daniel.zohm@aoe.com)
first bunch of fixings from code sniffer
-
2014-05-26T20:23:22+02:00 (commit #17de9a9)
Author: Erik Dannenberg (erik.dannenberg@bbe-consulting.de) / Commiter: Erik Dannenberg (erik.dannenberg@bbe-consulting.de)
Added faster getTotalSize(). Added safeguard before using slow _getDirectorySize(). #20
-
2014-05-26T17:26:29+02:00 (commit #1932ce2)
Author: diglin (sly@diglin.com) / Commiter: diglin (sly@diglin.com)
Improve performance of Healthcheck, check if a widget is collapsed and block rendering in this case (ajax call will do the job when opening the widget)
-
2014-05-23T01:54:30+02:00 (commit #0228f7e)
Author: Erik Dannenberg (erik.dannenberg@bbe-consulting.de) / Commiter: Erik Dannenberg (erik.dannenberg@bbe-consulting.de)
Unified healthcheck/monitoring plugins. #14
-
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