コード例 #1
0
 function DebugMyPluginPanel($label = '')
 {
     if ($label == '') {
         $this->label = __('My Plugin', 'csa-dmp');
     } else {
         $this->label = $label;
     }
     parent::__construct();
 }
コード例 #2
0
ファイル: debug-bar-panel.php プロジェクト: maesson/lyft
 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);
 }
コード例 #3
0
 public function Debug_Bar_Panel($title = '')
 {
     Debug_Bar_Panel::__construct($title);
 }
コード例 #4
0
ファイル: class-dbpanel.php プロジェクト: erikdukker/medisom
 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();
 }
コード例 #6
0
 /**
  * Assign properties, and call parent constructor.
  *
  * @since 1.1.0
  *
  * @param object $logger
  */
 public function __construct($logger)
 {
     $this->logger = $logger;
     parent::__construct();
 }