AdminPageFramework_Factory___Script_Base::__construct PHP Метод

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

public __construct ( $oMsg = null )
    public function __construct($oMsg = null)
    {
        if ($this->hasBeenCalled(get_class($this))) {
            return;
        }
        $this->oMsg = $oMsg ? $oMsg : AdminPageFramework_Message::getInstance();
        $this->registerAction('customize_controls_print_footer_scripts', array($this, '_replyToPrintScript'));
        $this->registerAction('admin_print_footer_scripts', array($this, '_replyToPrintScript'));
        $this->registerAction('wp_print_footer_scripts', array($this, '_replyToPrintScript'));
        $this->construct();
        add_action('wp_enqueue_scripts', array($this, 'load'));
    }