WireArray::append() method

Append an item to the end of the WireArray

This is a functionally identical alias of the WireArray::add() method here for naming consistency with the WireArray::prepend() method.

Example

// Add item to end 
$items->append($item); 

Usage

$wireArray->append($item);

Arguments

NameType(s)Description
itemWire, WireArray, mixed

Item to append.

Return value

$this

This instance.

See Also


WireArray methods and properties

API reference based on ProcessWire core version 3.0.244

“We chose ProcessWire because of its excellent architecture, modular extensibility and the internal API. The CMS offers the necessary flexibility and performance for such a complex website like superbude.de. ProcessWire offers options that are only available for larger systems, such as Drupal, and allows a much slimmer development process.” —xport communication GmbH