@@ -209,6 +209,10 @@ |
||
| 209 | 209 | $this->setLang($this->detect()); |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | + /** |
|
| 213 | + * @param string $ident |
|
| 214 | + * @param string $module |
|
| 215 | + */ |
|
| 212 | 216 | public static function trans($ident, $module = null) |
| 213 | 217 | { |
| 214 | 218 | return self::getInstance()->translate($ident, $module); |
@@ -49,6 +49,9 @@ discard block |
||
| 49 | 49 | return base64_decode($string); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param string $string |
|
| 54 | + */ |
|
| 52 | 55 | public static function _urlEncode($string) |
| 53 | 56 | { |
| 54 | 57 | return base64_encode($string); |
@@ -82,6 +85,9 @@ discard block |
||
| 82 | 85 | return $this->get('type'); |
| 83 | 86 | } |
| 84 | 87 | |
| 88 | + /** |
|
| 89 | + * @param integer $position |
|
| 90 | + */ |
|
| 85 | 91 | public function setPosition($position) |
| 86 | 92 | { |
| 87 | 93 | $this->set('position', $position); |