\Xima\XmTools\Classes\ViewHelpers\ObjectArrayImplodeViewHelper

Implodes array members to string, optionally calls function on members before imploding.

Summary

Methods
Properties
Constants
render()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

render()

render(  $glue,   $array,   $functionOrKey = '') 

Basically equal to PHP implode(). If array items are array themselves a key ($functionOrKey) can be specified.

If array items are objects a function to retrieve a certain value for the implode can be specified ($functionOrKey).

Parameters

$glue

string

$array

Array

$functionOrKey

string