function DebugMyPluginPanel($label = '') { if ($label == '') { $this->label = __('My Plugin', 'csa-dmp'); } else { $this->label = $label; } parent::__construct(); }
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); }
public function Debug_Bar_Panel($title = '') { Debug_Bar_Panel::__construct($title); }
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(); }