Lines Matching refs:key
62 foreach($children as $key=>$value) {
69 $list[$key] = $value;
72 foreach($list as $key=>$value) {
73 $this->add($key, $value);
225 foreach($this->children as $key=>$child) {
238 $result[$key] = $child;
267 * @param int $key
271 $sortScore = function($key, $array) {
273 if ($array[$key] instanceof Component) {
277 if ($array[$key]->name === 'VTIMEZONE') {
279 return $score+$key;
282 return $score+$key;
287 if ($array[$key] instanceof Property) {
288 if ($array[$key]->name === 'VERSION') {
290 return $score+$key;
294 return $score+$key;
417 $overWrite = count($matches)?key($matches):null;
466 foreach($this->children as $key=>$child) {
467 $this->children[$key] = clone $child;
468 $this->children[$key]->parent = $this;