UIX Documentation
  • Namespace
  • Class
  • Tree

Namespaces

  • None
  • uix
    • data
    • ui
      • control

Classes

  • box
  • control
  • footer
  • grid
  • header
  • help
  • metabox
  • modal
  • notice
  • page
  • panel
  • post_type
  • repeat
  • section
  • uix

Class page

UIX Page class for creating admin/settings pages.

uix\ui\uix
Extended by uix\data\data
Extended by uix\ui\panel
Extended by uix\ui\box implements uix\data\save, uix\data\load
Extended by uix\ui\page implements uix\data\save
Namespace: uix\ui
Package: uix\ui
Author: David Cramer
Located at classes/uix/ui/page.php

Methods summary

protected
# actions( )

setup actions and hooks to add settings pate and save settings

setup actions and hooks to add settings pate and save settings

Since

1.0.0

Overrides

uix\ui\uix::actions
public
# set_assets( )

Define core page styles

Define core page styles

Since

1.0.0

Overrides

uix\ui\box::set_assets
public
# set_attributes( )

Sets the wrappers attributes

Sets the wrappers attributes

Since

1.0.0

Overrides

uix\ui\box::set_attributes
public string
# store_key( )

get a UIX config store key

get a UIX config store key

Returns

string
$store_key the defiuned option name for this UIX object

Since

1.0.0

Overrides

uix\ui\box::store_key

Implementation of

uix\data\save::store_key()
public
# is_active( )

Determin if a page is to be loaded and set it active

Determin if a page is to be loaded and set it active

Since

1.0.0

Overrides

uix\ui\uix::is_active
protected
# enqueue_active_assets( )

Enqueues specific tabs assets for the active pages

Enqueues specific tabs assets for the active pages

Since

1.0.0

Overrides

uix\ui\panel::enqueue_active_assets
public
# add_settings_page( )

Add the settings page

Add the settings page

Since

1.0.0

Uses

"admin_menu" hook
public
# add_sub_page( )

Add the sub settings page

Add the sub settings page

Since

1.0.0

Uses

"admin_menu" hook
public
# create_page( )

create the admin page

create the admin page

Since

1.0.0

Methods inherited from uix\ui\box

get_data(), init(), load_data(), render(), render_header(), save_data()

Methods inherited from uix\ui\panel

child_count(), description(), is_section_object(), label(), navigation(), panel_section(), render_template(), set_data(), wrapper_class_names()

Methods inherited from uix\data\data

setup()

Methods inherited from uix\ui\uix

__call(), __construct(), base_color(), build_attributes(), enqueue_core(), id(), process_child(), process_children(), register(), render_children(), set_url()

Properties summary

public string $type

The type of object

The type of object

Since

1.0.0
# 'page'
public array $screen_hook_suffix

Holds the option screen prefix

Holds the option screen prefix

Since

1.0.0
# array()

Properties inherited from uix\data\data

$data

Properties inherited from uix\ui\uix

$assets, $attributes, $child, $parent, $scripts, $slug, $struct, $styles, $url

UIX Documentation API documentation generated by ApiGen