@@ -54,7 +54,7 @@ |
||
| 54 | 54 | * @param string file or directory to add |
| 55 | 55 | * @param string name to use for the given file or directory |
| 56 | 56 | * @param bool add files recursively, used with directories |
| 57 | - * @return object |
|
| 57 | + * @return Archive_Core |
|
| 58 | 58 | */ |
| 59 | 59 | public function add($path, $name = null, $recursive = null) |
| 60 | 60 | { |
@@ -162,6 +162,7 @@ discard block |
||
| 162 | 162 | * based on the configured salt pattern. |
| 163 | 163 | * |
| 164 | 164 | * @param string plaintext password |
| 165 | + * @param string $password |
|
| 165 | 166 | * @return string hashed password string |
| 166 | 167 | */ |
| 167 | 168 | public function hash_password($password, $salt = false) |
@@ -205,6 +206,7 @@ discard block |
||
| 205 | 206 | * Perform a hash, using the configured method. |
| 206 | 207 | * |
| 207 | 208 | * @param string string to hash |
| 209 | + * @param string $str |
|
| 208 | 210 | * @return string |
| 209 | 211 | */ |
| 210 | 212 | public function hash($str) |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | * Completes a login by assigning the user to the session key. |
| 124 | 124 | * |
| 125 | 125 | * @param string username |
| 126 | - * @return TRUE |
|
| 126 | + * @return boolean |
|
| 127 | 127 | */ |
| 128 | 128 | protected function complete_login($user) |
| 129 | 129 | { |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * Forces a user to be logged in, without specifying a password. |
| 107 | 107 | * |
| 108 | 108 | * @param mixed username |
| 109 | - * @return boolean |
|
| 109 | + * @return boolean|null |
|
| 110 | 110 | */ |
| 111 | 111 | public function force_login($user) |
| 112 | 112 | { |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | * session data: user_id, username, roles |
| 201 | 201 | * |
| 202 | 202 | * @param object user model object |
| 203 | - * @return void |
|
| 203 | + * @return boolean |
|
| 204 | 204 | */ |
| 205 | 205 | protected function complete_login($user) |
| 206 | 206 | { |
@@ -136,7 +136,7 @@ |
||
| 136 | 136 | * Validation Rule |
| 137 | 137 | * |
| 138 | 138 | * @param string $email |
| 139 | - * @return void |
|
| 139 | + * @return boolean |
|
| 140 | 140 | */ |
| 141 | 141 | public function email_available($email) |
| 142 | 142 | { |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | /** |
| 52 | 52 | * Deletes all expired tokens. |
| 53 | 53 | * |
| 54 | - * @return void |
|
| 54 | + * @return Auth_User_Token_Model |
|
| 55 | 55 | */ |
| 56 | 56 | public function delete_expired() |
| 57 | 57 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * |
| 71 | 71 | * @chainable |
| 72 | 72 | * @param object a constructed Flot_Dataset |
| 73 | - * @return object |
|
| 73 | + * @return Flot_Core |
|
| 74 | 74 | */ |
| 75 | 75 | public function add(Flot_Dataset $set, $label = null) |
| 76 | 76 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | * @chainable |
| 90 | 90 | * @param string option name |
| 91 | 91 | * @param mixed options value |
| 92 | - * @return object |
|
| 92 | + * @return Flot_Core |
|
| 93 | 93 | */ |
| 94 | 94 | public function set($key, $value) |
| 95 | 95 | { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * @chainable |
| 22 | 22 | * @param numeric x-axis plot position |
| 23 | 23 | * @param numeric y-axis plot position |
| 24 | - * @return object |
|
| 24 | + * @return Flot_Dataset_Core |
|
| 25 | 25 | */ |
| 26 | 26 | public function add($x, $y) |
| 27 | 27 | { |
@@ -168,8 +168,8 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * Returns an image map |
| 170 | 170 | * |
| 171 | - * @param mixed $lat latitude or an array of marker points |
|
| 172 | - * @param float $lon longitude |
|
| 171 | + * @param integer $lat latitude or an array of marker points |
|
| 172 | + * @param integer $lon longitude |
|
| 173 | 173 | * @param integer $zoom zoom level (1-19) |
| 174 | 174 | * @param string $type map type (roadmap or mobile) |
| 175 | 175 | * @param integer $width map width |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | * @param float $lon longitude |
| 217 | 217 | * @param integer $zoom zoom level (1-19) |
| 218 | 218 | * @param string $type default map type |
| 219 | - * @return object |
|
| 219 | + * @return Gmap_Core |
|
| 220 | 220 | */ |
| 221 | 221 | public function center($lat, $lon, $zoom = 6, $type = 'G_NORMAL_MAP') |
| 222 | 222 | { |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | * |
| 235 | 235 | * @chainable |
| 236 | 236 | * @param string $size small or large |
| 237 | - * @return object |
|
| 237 | + * @return Gmap_Core |
|
| 238 | 238 | */ |
| 239 | 239 | public function controls($size = null) |
| 240 | 240 | { |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | * @chainable |
| 251 | 251 | * @param integer $width width |
| 252 | 252 | * @param integer $height height |
| 253 | - * @return object |
|
| 253 | + * @return Gmap_Core |
|
| 254 | 254 | */ |
| 255 | 255 | public function overview($width = '', $height = '') |
| 256 | 256 | { |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | * @chainable |
| 268 | 268 | * @param string $type map type |
| 269 | 269 | * @param string $action add or remove map type |
| 270 | - * @return object |
|
| 270 | + * @return Gmap_Core |
|
| 271 | 271 | */ |
| 272 | 272 | public function types($type = null, $action = 'remove') |
| 273 | 273 | { |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | * @chainable |
| 288 | 288 | * @param string $name icon name |
| 289 | 289 | * @param array $options icon options |
| 290 | - * @return object |
|
| 290 | + * @return Gmap_Core |
|
| 291 | 291 | */ |
| 292 | 292 | public function add_icon($name, array $options) |
| 293 | 293 | { |
@@ -305,7 +305,7 @@ discard block |
||
| 305 | 305 | * @param float $lon longitude |
| 306 | 306 | * @param string $html HTML for info window |
| 307 | 307 | * @param array $options marker options |
| 308 | - * @return object |
|
| 308 | + * @return Gmap_Core |
|
| 309 | 309 | */ |
| 310 | 310 | public function add_marker($lat, $lon, $html = '', $options = array()) |
| 311 | 311 | { |