Ejemplo n.º 1
0
 function DebugMyPluginPanel($label = '')
 {
     if ($label == '') {
         $this->label = __('My Plugin', 'csa-dmp');
     } else {
         $this->label = $label;
     }
     parent::__construct();
 }
Ejemplo n.º 2
0
 public function __construct($updateChecker)
 {
     $this->updateChecker = $updateChecker;
     $title = sprintf('<span id="puc-debug-menu-link-%s">PUC (%s)</span>', esc_attr($this->updateChecker->slug), $this->updateChecker->slug);
     parent::Debug_Bar_Panel($title);
 }
Ejemplo n.º 3
0
 public function Debug_Bar_Panel($title = '')
 {
     Debug_Bar_Panel::__construct($title);
 }
Ejemplo n.º 4
0
 function __construct($view_path = '')
 {
     parent::Debug_Bar_Panel('Log Viewer');
     $this->_view_file = realpath($view_path . DIRECTORY_SEPARATOR . $this->_view_file);
 }
 public function __construct($title = '', $callback = '')
 {
     $this->tab = $title;
     $this->callback = $callback;
     parent::__construct();
 }
 /**
  * Assign properties, and call parent constructor.
  *
  * @since 1.1.0
  *
  * @param object $logger
  */
 public function __construct($logger)
 {
     $this->logger = $logger;
     parent::__construct();
 }