AdminPageFramework_PageLoadInfo_Base::__construct PHP Метод

__construct() публичный Метод

public __construct ( $oProp, $oMsg )
    public function __construct($oProp, $oMsg)
    {
        if (!$this->_shouldProceed($oProp)) {
            return;
        }
        $this->oProp = $oProp;
        $this->oMsg = $oMsg;
        $this->_nInitialMemoryUsage = memory_get_usage();
        add_action('in_admin_footer', array($this, '_replyToSetPageLoadInfoInFooter'), 999);
    }

Usage Example

 public function __construct($oProp, $oMsg)
 {
     if (is_network_admin() && $this->isDebugMode()) {
         add_action('in_admin_footer', array($this, '_replyToSetPageLoadInfoInFooter'), 999);
     }
     parent::__construct($oProp, $oMsg);
 }
All Usage Examples Of AdminPageFramework_PageLoadInfo_Base::__construct