Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Static Public Member Functions | List of all members
AppHelper Class Reference

Static Public Member Functions

static mysqlDate ($timestamp=null)
static footprint ($text)
static addParamsToUrl ($url, $params)
static removeParamsFromUrl ($url, $params)
static findItemsWithKey ($array, $searchKey, &$foundedItems)

Detailed Description

Definition at line 5 of file AppHelper.php.

Member Function Documentation

static AppHelper::findItemsWithKey (   $array,
  $searchKey,
$foundedItems 
)
static

Helper function

Parameters
$array
$searchKey
$foundedItems

Definition at line 74 of file AppHelper.php.

{
foreach ($array as $key => $item) {
if ($key == $searchKey) {
$foundedItems[] = $item;
}
if (is_array($item)) {
self::findItemsWithKey($item, $searchKey, $foundedItems);
}
}
}

The documentation for this class was generated from the following file: