@@ 375-380 (lines=6) @@ | ||
372 | { |
|
373 | $ret = array(); |
|
374 | $count = count($this->methods); |
|
375 | for($i = 0; $i < $count; $i++) |
|
376 | { |
|
377 | if($this->methods[$i]->supplement === false) continue; |
|
378 | ||
379 | array_push($ret, $this->methods[$i]->getSupplementLink()); |
|
380 | } |
|
381 | return $ret; |
|
382 | } |
|
383 | ||
@@ 535-543 (lines=9) @@ | ||
532 | public function getSuplementalProviderByHost($host) |
|
533 | { |
|
534 | $count = count($this->methods); |
|
535 | for($i = 0; $i < $count; $i++) |
|
536 | { |
|
537 | if($this->methods[$i]->supplement === false) continue; |
|
538 | ||
539 | if($this->methods[$i]->getHostName() === $host) |
|
540 | { |
|
541 | return $this->methods[$i]; |
|
542 | } |
|
543 | } |
|
544 | return false; |
|
545 | } |
|
546 |