Lines Matching refs:part
110 foreach($parts as $part) {
111 $matches[$part] = isset($matches[$part])&&$matches[$part]?(int)$matches[$part]:0;
160 foreach($parts as $part) {
161 if (isset($matches[$part]) && $matches[$part]) {
162 $newDur.=' '.$matches[$part] . ' ' . $part . 's';
314 foreach($parts as $part) {
316 if (empty($matches[$part])) {
317 $result[$part] = null;
318 } elseif ($matches[$part] === '-' || $matches[$part] === '--') {
319 $result[$part] = null;
321 $result[$part] = $matches[$part];
416 foreach($parts as $part) {
418 if (empty($matches[$part])) {
419 $result[$part] = null;
420 } elseif ($matches[$part] === '-') {
421 $result[$part] = null;
423 $result[$part] = $matches[$part];