input|merge( array1 [, array2 [, ... ] ] )
Name | Type | Description | Required |
---|---|---|---|
array1 | array | Array to be merged with the input array. | Yes. |
array2 | array | Another array to be merge with the input array. | No. |
This operator will merge the input array with all arrays passed as parameters. The resulting array will be returned.
{array( 1, 2 )|merge( array( 3, 4 ), array( 5, 6, 7 ) )}
The following array will be returned: ( 1, 2, 3, 4, 5, 6, 7 ).
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.