@@ 57-64 (lines=8) @@ | ||
54 | * |
|
55 | * @return string |
|
56 | */ |
|
57 | public static function get_star_entry_code($value) |
|
58 | { |
|
59 | $stars = self::get_stars(); |
|
60 | if (isset($stars[$value]["Code"])) { |
|
61 | return $stars[$value]["Code"]; |
|
62 | } |
|
63 | return "N/A"; |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * returns something like One Star |
|
@@ 72-79 (lines=8) @@ | ||
69 | * |
|
70 | * @return string |
|
71 | */ |
|
72 | public static function get_star_entry_name($value) |
|
73 | { |
|
74 | $stars = self::get_stars(); |
|
75 | if (isset($stars[$value]["Title"])) { |
|
76 | return $stars[$value]["Title"]; |
|
77 | } |
|
78 | return "N/A"; |
|
79 | } |
|
80 | ||
81 | /** |
|
82 | * returns something like |