PHP Class fusion_panel_admin, PHP-Fusion

Show file Open project: php-fusion/PHP-Fusion Class Usage Examples

Public Methods

Method Description
__construct ( ) Sanitization Globals Vars
add_panel_form ( ) The Panel Editor Form
display_admin ( )
get_accessOpts ( ) : array Return user groups array
get_panel_url_list ( ) : array Return page urls array
load_panel ( $id ) : array | boolean Fetch data for one panel
panel_listing ( ) Current Panel Template
verify_panel ( $id ) : boolean | string Checks if a panel id is valid

Private Methods

Method Description
delete_panel ( $id ) MYSQL actions delete panel
get_includeOpts ( ) : array Return restrictions type array
get_panelOpts ( ) : array Return list of panels
get_panel_grid ( ) : array Return panel positions array
load_all_panels ( ) : array Load entire DB_PANELS table
panel_reactor ( $side ) : string The container for each grid positions
panels_list ( integer | null $panel_id = NULL ) : array | string Panel array
set_locale ( )
set_panel_status ( ) MYSQL actions set active or inactive
set_paneldb ( ) MYSQL save/update panels

Method Details

__construct() public method

Sanitization Globals Vars
public __construct ( )

add_panel_form() public method

The Panel Editor Form
public add_panel_form ( )

display_admin() public method

public display_admin ( )

get_accessOpts() static public method

Return user groups array
static public get_accessOpts ( ) : array
return array

get_panel_url_list() static public method

Return page urls array
static public get_panel_url_list ( ) : array
return array

load_panel() static public method

Fetch data for one panel
static public load_panel ( $id ) : array | boolean
$id
return array | boolean

panel_listing() public method

Current Panel Template
public panel_listing ( )

verify_panel() static public method

Checks if a panel id is valid
static public verify_panel ( $id ) : boolean | string
$id
return boolean | string