@@ 339-344 (lines=6) @@ | ||
336 | { |
|
337 | $ret = array(); |
|
338 | $count = count($this->methods); |
|
339 | for($i = 0; $i < $count; $i++) |
|
340 | { |
|
341 | if($this->methods[$i]->supplement === false) |
|
342 | { |
|
343 | continue; |
|
344 | } |
|
345 | ||
346 | array_push($ret, $this->methods[$i]->getSupplementLink()); |
|
347 | } |
|
@@ 514-522 (lines=9) @@ | ||
511 | public function getSuplementalProviderByHost($host) |
|
512 | { |
|
513 | $count = count($this->methods); |
|
514 | for($i = 0; $i < $count; $i++) |
|
515 | { |
|
516 | if($this->methods[$i]->supplement === false) |
|
517 | { |
|
518 | continue; |
|
519 | } |
|
520 | ||
521 | if($this->methods[$i]->getHostName() === $host) |
|
522 | { |
|
523 | return $this->methods[$i]; |
|
524 | } |
|
525 | } |