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 header

A generic holder for multiple controls. this panel type does not handle saving, but forms part of the data object tree.

uix\ui\uix
Extended by uix\data\data
Extended by uix\ui\panel
Extended by uix\ui\section
Extended by uix\ui\header
Namespace: uix\ui
Since: 1.0.0
See: \uix\uix
Located at classes/uix/ui/header.php

Methods summary

public
# init( )

Set the element type

Set the element type

Since

1.0.0

Overrides

uix\ui\uix::init
public string|null
# render( )

Render the complete section

Render the complete section

Returns

string|null
HTML of rendered notice

Since

1.0.0

Overrides

uix\ui\section::render
public
# set_assets( )

Define core header styles

Define core header styles

Since

1.0.0

Overrides

uix\ui\section::set_assets
public string|null
# label( )

Render the panels label

Render the panels label

Returns

string|null
rendered html of label

Since

1.0.0

Overrides

uix\ui\panel::label
public string|null
# description( )

Render the panels Description

Render the panels Description

Returns

string|null
HTML of rendered description

Since

1.0.0

Overrides

uix\ui\panel::description
public
# is_active( )

checks if the current section is active

checks if the current section is active

Since

1.0.0

Overrides

uix\ui\uix::is_active

Methods inherited from uix\ui\panel

child_count(), enqueue_active_assets(), get_data(), is_section_object(), 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(), actions(), base_color(), build_attributes(), enqueue_core(), id(), process_child(), process_children(), register(), render_children(), set_attributes(), set_url()

Properties summary

public string $type

The type of object

The type of object

Since

1.0.0
# 'header'
public string $element

type of header element

type of header element

Since

1.0.0
# 'h1'
public array $attributes

List of attributes to apply to the wrapper element

List of attributes to apply to the wrapper element

Since

1.0.0
# array( 'class' => 'uix-title' )

Properties inherited from uix\data\data

$data

Properties inherited from uix\ui\uix

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

UIX Documentation API documentation generated by ApiGen