@@ 382-387 (lines=6) @@ | ||
379 | { |
|
380 | $ret = array(); |
|
381 | $count = count($this->methods); |
|
382 | for($i = 0; $i < $count; $i++) |
|
383 | { |
|
384 | if($this->methods[$i]->supplement === false) |
|
385 | { |
|
386 | continue; |
|
387 | } |
|
388 | ||
389 | array_push($ret, $this->methods[$i]->getSupplementLink()); |
|
390 | } |
|
@@ 557-565 (lines=9) @@ | ||
554 | public function getSuplementalProviderByHost($host) |
|
555 | { |
|
556 | $count = count($this->methods); |
|
557 | for($i = 0; $i < $count; $i++) |
|
558 | { |
|
559 | if($this->methods[$i]->supplement === false) |
|
560 | { |
|
561 | continue; |
|
562 | } |
|
563 | ||
564 | if($this->methods[$i]->getHostName() === $host) |
|
565 | { |
|
566 | return $this->methods[$i]; |
|
567 | } |
|
568 | } |