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 modal

Same as the Box type, however it renders a button control that loads the modal via a template

uix\ui\uix
Extended by uix\data\data
Extended by uix\ui\panel
Extended by uix\ui\modal
Namespace: uix\ui
Package: uix\ui
Author: David Cramer
Located at classes/uix/ui/modal.php

Methods summary

public
# init( )

Sets the controls data

Sets the controls data

Since

1.0.0

See

\uix\uix

Overrides

uix\ui\uix::init
public string
# set_footers( )

Render the footer template

Render the footer template

Returns

string
HTML of rendered box

Since

1.0.0

See

uix\ui\uix
public
# set_attributes( )

Sets the wrappers attributes

Sets the wrappers attributes

Since

1.0.0

Overrides

uix\ui\uix::set_attributes
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
# set_assets( )

set assets

set assets

Since

1.0.0

See

uix\ui\uix

Overrides

uix\ui\panel::set_assets
public string
# render( )

Render the Control

Render the Control

Returns

string
HTML of rendered box

Since

1.0.0

See

uix\ui\uix

Overrides

uix\ui\panel::render
public string
# render_modal_template( )

Render the Control

Render the Control

Returns

string
HTML of rendered box

Since

1.0.0

See

uix\ui\uix
public string
# render_footer_template( )

Render the footer template

Render the footer template

Returns

string
HTML of rendered box

Since

1.0.0

See

uix\ui\uix
public string
# output_templates( )

Render templates to page

Render templates to page

Returns

string
HTML of rendered box

Since

1.0.0

See

uix\ui\uix

Methods inherited from uix\ui\panel

child_count(), description(), get_data(), 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(), actions(), base_color(), build_attributes(), enqueue_core(), id(), is_active(), 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
# 'modal'
public uix\ui\footer $footer

footer object

footer object

Since

1.0.0
#
public string $templates

modal template

modal template

Since

1.0.0
# null

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