@@ 341-346 (lines=6) @@ | ||
338 | { |
|
339 | $ret = array(); |
|
340 | $count = count($this->methods); |
|
341 | for($i = 0; $i < $count; $i++) |
|
342 | { |
|
343 | if($this->methods[$i]->supplement === false) |
|
344 | { |
|
345 | continue; |
|
346 | } |
|
347 | ||
348 | array_push($ret, $this->methods[$i]->getSupplementLink()); |
|
349 | } |
|
@@ 488-496 (lines=9) @@ | ||
485 | public function getSuplementalProviderByHost($host) |
|
486 | { |
|
487 | $count = count($this->methods); |
|
488 | for($i = 0; $i < $count; $i++) |
|
489 | { |
|
490 | if($this->methods[$i]->supplement === false) |
|
491 | { |
|
492 | continue; |
|
493 | } |
|
494 | ||
495 | if($this->methods[$i]->getHostName() === $host) |
|
496 | { |
|
497 | return $this->methods[$i]; |
|
498 | } |
|
499 | } |