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 repeat

A repetable container for repeatable areas.

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

Methods summary

public
# set_assets( )

Define core page style

Define core page style

Since

1.0.0

Overrides

uix\ui\panel::set_assets
public
# prepare_data( )

prepares Data for extraction and saving

prepares Data for extraction and saving

Since

1.0.0

See

\uix\uix
public
# setup( )

Sets the objects sanitization filter

Sets the objects sanitization filter

Since

1.0.0

See

\uix\uix

Overrides

uix\data\data::setup
public array|null
# get_data( )

Sets the data for all children

Sets the data for all children

Returns

array|null
Array of sections data structured by the controls or null if none.

Since

1.0.0

Overrides

uix\ui\panel::get_data
public array
# set_instance_data( )

Returns

array
public array
# get_instance_data( )

Returns

array
public
# set_data( mixed $data )

Sets the data for all children

Sets the data for all children

Parameters

$data
the data to be set

Since

1.0.0

Overrides

uix\ui\panel::set_data
public string
# id( )

uix object id

uix object id

Returns

string
The object ID

Since

1.0.0

Overrides

uix\ui\uix::id
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 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\panel::render
public string|null
# render_repeatable_more( )

Render the add more button and template

Render the add more button and template

Returns

string|null
HTML of rendered object

Since

1.0.0
public string|null
# render_repeatable( )

Render the internal section

Render the internal section

Returns

string|null
HTML of rendered object

Since

1.0.0
public string
# render_repeatable_script( )

Render the script footer template

Render the script footer template

Returns

string
HTML of rendered box

Since

1.0.0

See

uix\ui\uix

Methods inherited from uix\ui\panel

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

Methods inherited from uix\ui\uix

__call(), __construct(), actions(), base_color(), build_attributes(), enqueue_core(), init(), is_active(), 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
# 'repeat'
public integer|string $instance

The instance of this object

The instance of this object

Since

1.0.0
# 0
public integer|string $instances

total instances of this object

total instances of this object

Since

1.0.0
# 0
public string $templates

The templates to render in the footer

The templates to render in the footer

Since

1.0.0
# null
public string $button_label

Button Label

Button Label

Since

1.0.0
#

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