Наследование: extends AdminPageFramework_Widget_Model
 function __construct($oProp)
 {
     parent::__construct($oProp);
     if ($this->_isInThePage()) {
         if (did_action('widgets_init')) {
             $this->setup_pre();
         }
         add_action('widgets_init', array($this, 'setup_pre'));
     }
 }
 /**
  * Sets up hooks and properties.
  * 
  * @since       3.2.0
  * @internal    
  */
 function __construct($oProp)
 {
     parent::__construct($oProp);
     if ($this->_isInThePage()) {
         // Other admin page framework factory classes uses wp_loaded hook but widget_init hook is called before that.
         // So we use widgets_init hook for this factory.
         if (did_action('widgets_init')) {
             // For the activation hook.
             $this->setup_pre();
         }
         add_action('widgets_init', array($this, 'setup_pre'));
     }
 }