function QPACssEventHandler::getVal in QueryPath 7.2
Same name and namespace in other branches
- 6 qpa/qpa.classes.inc \QPACssEventHandler::getVal()
- 7.3 qpa/qpa.classes.inc \QPACssEventHandler::getVal()
Get the value of an item in a deeply nested array.
1 call to QPACssEventHandler::getVal()
File
- qpa/
qpa.classes.inc, line 42 - qpa.classes
Class
- QPACssEventHandler
- qpa.classes
Code
function getVal($key) {
$t = $this->arr;
foreach ($key as $part) {
$t = $t[$part];
}
return $t;
}