@@ -165,6 +165,9 @@ discard block |
||
165 | 165 | return false; |
166 | 166 | } |
167 | 167 | |
168 | + /** |
|
169 | + * @param string $set |
|
170 | + */ |
|
168 | 171 | protected function isValidSetNotation($number, $set) |
169 | 172 | { |
170 | 173 | $str = '$result = '.str_replace('n', '$number', $set).';'; |
@@ -206,8 +209,9 @@ discard block |
||
206 | 209 | /** |
207 | 210 | * For the choice string, and a number, find and return the |
208 | 211 | * string that satisfied the set within the choices. |
209 | - * @param string the choices string. |
|
212 | + * @param string string choices string. |
|
210 | 213 | * @param float the number to test. |
214 | + * @param double $number |
|
211 | 215 | * @return string the choosen string. |
212 | 216 | */ |
213 | 217 | public function format($string, $number) |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * _read |
87 | 87 | * |
88 | 88 | * @access private |
89 | - * @return mixed |
|
89 | + * @return string|null |
|
90 | 90 | * @param int $bytes |
91 | 91 | */ |
92 | 92 | function _read($bytes = 1) |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * Load MO file |
166 | 166 | * |
167 | 167 | * @access public |
168 | - * @return mixed Returns true on success or PEAR_Error on failure. |
|
168 | + * @return boolean Returns true on success or PEAR_Error on failure. |
|
169 | 169 | * @param string $file |
170 | 170 | */ |
171 | 171 | function load($file = null) |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | * Save MO file |
262 | 262 | * |
263 | 263 | * @access public |
264 | - * @return mixed Returns true on success or PEAR_Error on failure. |
|
264 | + * @return boolean Returns true on success or PEAR_Error on failure. |
|
265 | 265 | * @param string $file |
266 | 266 | */ |
267 | 267 | function save($file = null) |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * Load PO file |
68 | 68 | * |
69 | 69 | * @access public |
70 | - * @return mixed Returns true on success or PEAR_Error on failure. |
|
70 | + * @return boolean Returns true on success or PEAR_Error on failure. |
|
71 | 71 | * @param string $file |
72 | 72 | */ |
73 | 73 | function load($file = null) |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * Save PO file |
117 | 117 | * |
118 | 118 | * @access public |
119 | - * @return mixed Returns true on success or PEAR_Error on failure. |
|
119 | + * @return boolean Returns true on success or PEAR_Error on failure. |
|
120 | 120 | * @param string $file |
121 | 121 | */ |
122 | 122 | function save($file = null) |
@@ -111,6 +111,7 @@ |
||
111 | 111 | /** |
112 | 112 | * Sets the charset for message output. |
113 | 113 | * @param string charset, default is UTF-8 |
114 | + * @param string $charset |
|
114 | 115 | */ |
115 | 116 | public function setCharset($charset) |
116 | 117 | { |
@@ -67,7 +67,8 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * Creates the DB connection. |
69 | 69 | * @param string the module ID for TDataSourceConfig |
70 | - * @return TDbConnection the created DB connection |
|
70 | + * @param string $connectionID |
|
71 | + * @return \Prado\Data\TDbConnection the created DB connection |
|
71 | 72 | * @throws TConfigurationException if module ID is invalid or empty |
72 | 73 | */ |
73 | 74 | protected function createDbConnection($connectionID) |
@@ -192,6 +193,7 @@ discard block |
||
192 | 193 | |
193 | 194 | /** |
194 | 195 | * Update the catalogue last modified time. |
196 | + * @param string $variant |
|
195 | 197 | * @return boolean true if updated, false otherwise. |
196 | 198 | */ |
197 | 199 | private function updateCatalogueTime($cat_id, $variant) |
@@ -30,6 +30,8 @@ |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * @param mixed the data to be bound to this object |
33 | + * @param Data\ActiveRecord\TActiveRecord $value |
|
34 | + * @return void |
|
33 | 35 | */ |
34 | 36 | public function setData($value); |
35 | 37 | } |
36 | 38 | \ No newline at end of file |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * Initializes the module. |
27 | 27 | * @param TXmlElement the configuration for the module |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function init($config); |
30 | 31 | /** |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | public function getID(); |
34 | 35 | /** |
35 | 36 | * @param string ID of the module |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function setID($id); |
38 | 40 | } |
39 | 41 | \ No newline at end of file |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * Initializes the service. |
27 | 27 | * @param TXmlElement the configuration for the service |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function init($config); |
30 | 31 | /** |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | public function getID(); |
34 | 35 | /** |
35 | 36 | * @param string ID of the service |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function setID($id); |
38 | 40 | /** |
@@ -41,10 +43,12 @@ discard block |
||
41 | 43 | public function getEnabled(); |
42 | 44 | /** |
43 | 45 | * @param boolean whether the service is enabled |
46 | + * @return void |
|
44 | 47 | */ |
45 | 48 | public function setEnabled($value); |
46 | 49 | /** |
47 | 50 | * Runs the service. |
51 | + * @return void |
|
48 | 52 | */ |
49 | 53 | public function run(); |
50 | 54 | } |
51 | 55 | \ No newline at end of file |
@@ -31,6 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Saves state into a persistent storage. |
33 | 33 | * @param mixed the state to be saved |
34 | + * @return void |
|
34 | 35 | */ |
35 | 36 | public function save($state); |
36 | 37 | } |
37 | 38 | \ No newline at end of file |