| @@ 522-533 (lines=12) @@ | ||
| 519 | * @param int $key The contrbutor that you want to return. Remember that arrays begin with 0, not 1 |
|
| 520 | * @return SimplePie_Author|null |
|
| 521 | */ |
|
| 522 | public function get_contributor($key = 0) |
|
| 523 | { |
|
| 524 | $contributors = $this->get_contributors(); |
|
| 525 | if (isset($contributors[$key])) |
|
| 526 | { |
|
| 527 | return $contributors[$key]; |
|
| 528 | } |
|
| 529 | else |
|
| 530 | { |
|
| 531 | return null; |
|
| 532 | } |
|
| 533 | } |
|
| 534 | ||
| 535 | /** |
|
| 536 | * Get all contributors for the item |
|
| @@ 293-304 (lines=12) @@ | ||
| 290 | } |
|
| 291 | } |
|
| 292 | ||
| 293 | public function get_contributor($key = 0) |
|
| 294 | { |
|
| 295 | $contributors = $this->get_contributors(); |
|
| 296 | if (isset($contributors[$key])) |
|
| 297 | { |
|
| 298 | return $contributors[$key]; |
|
| 299 | } |
|
| 300 | else |
|
| 301 | { |
|
| 302 | return null; |
|
| 303 | } |
|
| 304 | } |
|
| 305 | ||
| 306 | public function get_contributors() |
|
| 307 | { |
|
| @@ 2238-2249 (lines=12) @@ | ||
| 2235 | * @param int $key The contrbutor that you want to return. Remember that arrays begin with 0, not 1 |
|
| 2236 | * @return SimplePie_Author|null |
|
| 2237 | */ |
|
| 2238 | public function get_contributor($key = 0) |
|
| 2239 | { |
|
| 2240 | $contributors = $this->get_contributors(); |
|
| 2241 | if (isset($contributors[$key])) |
|
| 2242 | { |
|
| 2243 | return $contributors[$key]; |
|
| 2244 | } |
|
| 2245 | else |
|
| 2246 | { |
|
| 2247 | return null; |
|
| 2248 | } |
|
| 2249 | } |
|
| 2250 | ||
| 2251 | /** |
|
| 2252 | * Get all contributors for the feed |
|