Element containing a sequence of child elements.
More...
|
static | $targetPropertyName = 'group' |
|
static string | $targetPropertyName = '' |
| Property name for accessing the target on the element.
|
|
Element containing a sequence of child elements.
OOUI\GroupElement::__construct |
( |
Element |
$element, |
|
|
array |
$config = array() |
|
) |
| |
- Parameters
-
Element | $element | Element being mixed into |
array | $config | Configuration options |
OOUI\GroupElement::addItems |
( |
array |
$items, |
|
|
|
$index = null |
|
) |
| |
Add items.
Adding an existing item will move it.
- Parameters
-
| Element[] | $items Items |
number | $index | Index to insert items at |
- Returns
- $this
OOUI\GroupElement::clearItems |
( |
| ) |
|
Clear all items.
Items will be detached, not removed, so they can be used later.
- Returns
- $this
OOUI\GroupElement::getItems |
( |
| ) |
|
OOUI\GroupElement::isEmpty |
( |
| ) |
|
Check if there are no items.
- Returns
- boolean Group is empty
OOUI\GroupElement::removeItems |
( |
|
$items | ) |
|
Remove items.
- Parameters
-
Element[] | $items Items to remove |
- Returns
- $this
The documentation for this class was generated from the following file:
- php/mixins/GroupElement.php