@@ -125,6 +125,10 @@ |
||
| 125 | 125 | */ |
| 126 | 126 | // protected function _loadTranslationData($filename, $locale, array $options = array()) |
| 127 | 127 | // AJDE : We use this method directly, so it must be public |
| 128 | + |
|
| 129 | + /** |
|
| 130 | + * @param string $filename |
|
| 131 | + */ |
|
| 128 | 132 | public function _loadTranslationData($filename, $locale, array $options = []) |
| 129 | 133 | { |
| 130 | 134 | $this->_data = []; |
@@ -30,6 +30,9 @@ |
||
| 30 | 30 | $this->set("name", $name); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $style |
|
| 35 | + */ |
|
| 33 | 36 | public function setStyle($style) |
| 34 | 37 | { |
| 35 | 38 | $this->set("style", $style); |
@@ -29,6 +29,9 @@ |
||
| 29 | 29 | return $getWriters; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | + /** |
|
| 33 | + * @param string $level |
|
| 34 | + */ |
|
| 32 | 35 | private static function shouldLog($level) |
| 33 | 36 | { |
| 34 | 37 | $configLevel = current(explode(':', Config::get('logLevel'))); |
@@ -3168,7 +3168,7 @@ |
||
| 3168 | 3168 | * @param string $path A filename or path, does not need to exist as a file |
| 3169 | 3169 | * @param integer|string $options Either a PATHINFO_* constant, |
| 3170 | 3170 | * or a string name to return only the specified piece, allows 'filename' to work on PHP < 5.2 |
| 3171 | - * @return string|array |
|
| 3171 | + * @return string |
|
| 3172 | 3172 | * @static |
| 3173 | 3173 | */ |
| 3174 | 3174 | public static function mb_pathinfo($path, $options = null) |
@@ -186,8 +186,8 @@ |
||
| 186 | 186 | * |
| 187 | 187 | * @access public |
| 188 | 188 | * @param string $host |
| 189 | - * @param bool|int $port |
|
| 190 | - * @param bool|int $tval |
|
| 189 | + * @param boolean $port |
|
| 190 | + * @param boolean $tval |
|
| 191 | 191 | * @param string $username |
| 192 | 192 | * @param string $password |
| 193 | 193 | * @param int $debug_level |
@@ -842,7 +842,7 @@ discard block |
||
| 842 | 842 | * |
| 843 | 843 | * @param string $data The data to send |
| 844 | 844 | * @access public |
| 845 | - * @return int|bool The number of bytes sent to the server or FALSE on error |
|
| 845 | + * @return integer The number of bytes sent to the server or FALSE on error |
|
| 846 | 846 | */ |
| 847 | 847 | public function client_send($data) |
| 848 | 848 | { |
@@ -857,7 +857,7 @@ discard block |
||
| 857 | 857 | * Get the latest error. |
| 858 | 858 | * |
| 859 | 859 | * @access public |
| 860 | - * @return array |
|
| 860 | + * @return string |
|
| 861 | 861 | */ |
| 862 | 862 | public function getError() |
| 863 | 863 | { |
@@ -34,6 +34,9 @@ discard block |
||
| 34 | 34 | return $this->_model; |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | + /** |
|
| 38 | + * @param Ajde_Model $model |
|
| 39 | + */ |
|
| 37 | 40 | public function setModel($model) |
| 38 | 41 | { |
| 39 | 42 | $this->_model = $model; |
@@ -84,6 +87,9 @@ discard block |
||
| 84 | 87 | return $this->_value; |
| 85 | 88 | } |
| 86 | 89 | |
| 90 | + /** |
|
| 91 | + * @param string|null $value |
|
| 92 | + */ |
|
| 87 | 93 | public function validate($fieldOptions, $value) |
| 88 | 94 | { |
| 89 | 95 | $this->_value = $value; |
@@ -27,6 +27,9 @@ discard block |
||
| 27 | 27 | $this->_url = $url; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @return string |
|
| 32 | + */ |
|
| 30 | 33 | public function getTitle() |
| 31 | 34 | { |
| 32 | 35 | return $this->_title; |
@@ -42,6 +45,9 @@ discard block |
||
| 42 | 45 | return $this->_message; |
| 43 | 46 | } |
| 44 | 47 | |
| 48 | + /** |
|
| 49 | + * @return string |
|
| 50 | + */ |
|
| 45 | 51 | public function getUrl() |
| 46 | 52 | { |
| 47 | 53 | return $this->_url; |
@@ -24,6 +24,9 @@ discard block |
||
| 24 | 24 | return $this->get('type'); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @param integer $position |
|
| 29 | + */ |
|
| 27 | 30 | public function setPosition($position) |
| 28 | 31 | { |
| 29 | 32 | $this->set('position', $position); |
@@ -64,6 +67,9 @@ discard block |
||
| 64 | 67 | return false; |
| 65 | 68 | } |
| 66 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $filename |
|
| 72 | + */ |
|
| 67 | 73 | protected static function exist($filename) |
| 68 | 74 | { |
| 69 | 75 | if (is_file($filename)) { |
@@ -89,6 +95,9 @@ discard block |
||
| 89 | 95 | return base64_decode($string); |
| 90 | 96 | } |
| 91 | 97 | |
| 98 | + /** |
|
| 99 | + * @param string $string |
|
| 100 | + */ |
|
| 92 | 101 | public static function _urlEncode($string) |
| 93 | 102 | { |
| 94 | 103 | // return self::_rotUrl($string); |