public function QPTPL::isAssoc in QueryPath 6
Same name and namespace in other branches
- 7.3 QueryPath/Extension/QPTPL.php \QPTPL::isAssoc()
- 7.2 QueryPath/Extension/QPTPL.php \QPTPL::isAssoc()
1 call to QPTPL::isAssoc()
- QPTPL::tplArrayR in QueryPath/
Extension/ QPTPL.php
File
- QueryPath/
Extension/ QPTPL.php, line 118
Class
Code
public function isAssoc($array) {
$i = 0;
foreach ($array as $k => $v) {
if ($k !== $i++) {
return TRUE;
}
}
return FALSE;
}