@@ 1319-1330 (lines=12) @@ | ||
1316 | } |
|
1317 | } |
|
1318 | ||
1319 | public function get_link($key = 0, $rel = 'alternate') |
|
1320 | { |
|
1321 | $links = $this->get_links($rel); |
|
1322 | if (isset($links[$key])) |
|
1323 | { |
|
1324 | return $links[$key]; |
|
1325 | } |
|
1326 | else |
|
1327 | { |
|
1328 | return null; |
|
1329 | } |
|
1330 | } |
|
1331 | ||
1332 | public function get_permalink() |
|
1333 | { |
|
@@ 6732-6743 (lines=12) @@ | ||
6729 | } |
|
6730 | } |
|
6731 | ||
6732 | public function get_link($key = 0, $rel = 'alternate') |
|
6733 | { |
|
6734 | $links = $this->get_links($rel); |
|
6735 | if ($links[$key] !== null) |
|
6736 | { |
|
6737 | return $links[$key]; |
|
6738 | } |
|
6739 | else |
|
6740 | { |
|
6741 | return null; |
|
6742 | } |
|
6743 | } |
|
6744 | ||
6745 | public function get_links($rel = 'alternate') |
|
6746 | { |
|
@@ 12920-12931 (lines=12) @@ | ||
12917 | return null; |
|
12918 | } |
|
12919 | } |
|
12920 | public function get_link($key = 0, $rel = 'alternate') |
|
12921 | { |
|
12922 | $links = $this->get_links($rel); |
|
12923 | if (isset($links[$key])) |
|
12924 | { |
|
12925 | return $links[$key]; |
|
12926 | } |
|
12927 | else |
|
12928 | { |
|
12929 | return null; |
|
12930 | } |
|
12931 | } |
|
12932 | ||
12933 | public function get_permalink() |
|
12934 | { |