This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studentersamfundet.no/wp/wp-content/plugins/debug-bar/panels/class-debug-bar-panel.php
T
2016-04-17 16:17:14 +02:00

52 lines
837 B
PHP

<?php
class Debug_Bar_Panel {
var $_title = '';
var $_visible = true;
function __construct( $title = '' ) {
$this->title( $title );
if ( $this->init() === false ) {
$this->set_visible( false );
return;
}
add_filter( 'debug_bar_classes', array( &$this, 'debug_bar_classes' ) );
}
function Debug_Bar_Panel( $title = '' ) {
Debug_Bar_Panel::__construct( $title );
}
/**
* Initializes the panel.
*/
function init() {}
function prerender() {}
/**
* Renders the panel.
*/
function render() {}
function is_visible() {
return $this->_visible;
}
function set_visible( $visible ) {
$this->_visible = $visible;
}
function title( $title=NULL ) {
if ( ! isset( $title ) )
return $this->_title;
$this->_title = $title;
}
function debug_bar_classes( $classes ) {
return $classes;
}
}