@@ 1099-1110 (lines=12) @@ | ||
1096 | } |
|
1097 | } |
|
1098 | ||
1099 | public function get_category($key = 0) |
|
1100 | { |
|
1101 | $categories = $this->get_categories(); |
|
1102 | if (isset($categories[$key])) |
|
1103 | { |
|
1104 | return $categories[$key]; |
|
1105 | } |
|
1106 | else |
|
1107 | { |
|
1108 | return null; |
|
1109 | } |
|
1110 | } |
|
1111 | ||
1112 | public function get_categories() |
|
1113 | { |
|
@@ 3651-3662 (lines=12) @@ | ||
3648 | } |
|
3649 | } |
|
3650 | ||
3651 | public function get_category($key = 0) |
|
3652 | { |
|
3653 | $categories = $this->get_categories(); |
|
3654 | if (isset($categories[$key])) |
|
3655 | { |
|
3656 | return $categories[$key]; |
|
3657 | } |
|
3658 | else |
|
3659 | { |
|
3660 | return null; |
|
3661 | } |
|
3662 | } |
|
3663 | ||
3664 | public function get_categories() |
|
3665 | { |
|
@@ 6324-6335 (lines=12) @@ | ||
6321 | } |
|
6322 | } |
|
6323 | ||
6324 | public function get_category($key = 0) |
|
6325 | { |
|
6326 | $categories = $this->get_categories(); |
|
6327 | if (isset($categories[$key])) |
|
6328 | { |
|
6329 | return $categories[$key]; |
|
6330 | } |
|
6331 | else |
|
6332 | { |
|
6333 | return null; |
|
6334 | } |
|
6335 | } |
|
6336 | ||
6337 | public function get_categories() |
|
6338 | { |
|
@@ 12706-12717 (lines=12) @@ | ||
12703 | return null; |
|
12704 | } |
|
12705 | } |
|
12706 | public function get_category($key = 0) |
|
12707 | { |
|
12708 | $categories = $this->get_categories(); |
|
12709 | if (isset($categories[$key])) |
|
12710 | { |
|
12711 | return $categories[$key]; |
|
12712 | } |
|
12713 | else |
|
12714 | { |
|
12715 | return null; |
|
12716 | } |
|
12717 | } |
|
12718 | public function get_categories() |
|
12719 | { |
|
12720 | $categories = array(); |