@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | /** |
| 301 | 301 | * create a new hotel city |
| 302 | 302 | * @param bool $isNew flag the new objects as "new"? |
| 303 | - * @return object Hotel |
|
| 303 | + * @return MartinHotel Hotel |
|
| 304 | 304 | */ |
| 305 | 305 | public function &create($isNew = true) |
| 306 | 306 | { |
@@ -350,8 +350,8 @@ discard block |
||
| 350 | 350 | * @created :2010年06月20日 13时09分 |
| 351 | 351 | * @copyright 1997-2010 The Martin Group |
| 352 | 352 | * @author Martin <[email protected]> |
| 353 | - * @param $sql |
|
| 354 | - * @param null $key |
|
| 353 | + * @param string $sql |
|
| 354 | + * @param string $key |
|
| 355 | 355 | * @return array |
| 356 | 356 | */ |
| 357 | 357 | public function GetRows($sql, $key = null) |
@@ -480,7 +480,7 @@ discard block |
||
| 480 | 480 | * @author Martin <[email protected]> |
| 481 | 481 | * @param object $hotel |
| 482 | 482 | * @param bool $force |
| 483 | - * @return bool|void |
|
| 483 | + * @return boolean |
|
| 484 | 484 | */ |
| 485 | 485 | public function delete(&$hotel, $force = false) |
| 486 | 486 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * create a new hotel city |
| 83 | 83 | * @param bool $isNew flag the new objects as "new"? |
| 84 | - * @return object HotelCity |
|
| 84 | + * @return MartinHotelcity HotelCity |
|
| 85 | 85 | */ |
| 86 | 86 | public function &create($isNew = true) |
| 87 | 87 | { |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | * @author Martin <[email protected]> |
| 222 | 222 | * @param object $hotelcity |
| 223 | 223 | * @param bool $force |
| 224 | - * @return bool|void |
|
| 224 | + * @return boolean |
|
| 225 | 225 | */ |
| 226 | 226 | public function delete(&$hotelcity, $force = false) |
| 227 | 227 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * create a new hotel city |
| 99 | 99 | * @param bool $isNew flag the new objects as "new"? |
| 100 | - * @return object promotion |
|
| 100 | + * @return MartinHotelPromotion promotion |
|
| 101 | 101 | */ |
| 102 | 102 | public function &create($isNew = true) |
| 103 | 103 | { |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | * @author Martin <[email protected]> |
| 221 | 221 | * @param object $promotion |
| 222 | 222 | * @param bool $force |
| 223 | - * @return bool|void |
|
| 223 | + * @return boolean |
|
| 224 | 224 | */ |
| 225 | 225 | public function delete(&$promotion, $force = false) |
| 226 | 226 | { |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | /** |
| 91 | 91 | * create a new hotel city |
| 92 | 92 | * @param bool $isNew flag the new objects as "new"? |
| 93 | - * @return object hotelservice |
|
| 93 | + * @return MartinHotelService hotelservice |
|
| 94 | 94 | */ |
| 95 | 95 | public function &create($isNew = true) |
| 96 | 96 | { |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | * @author Martin <[email protected]> |
| 226 | 226 | * @param object $hotelservice |
| 227 | 227 | * @param bool $force |
| 228 | - * @return bool|void |
|
| 228 | + * @return boolean |
|
| 229 | 229 | */ |
| 230 | 230 | public function delete(&$hotelservice, $force = false) |
| 231 | 231 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | /** |
| 53 | 53 | * create a new hotel city |
| 54 | 54 | * @param bool $isNew flag the new objects as "new"? |
| 55 | - * @return object hotelservicetype |
|
| 55 | + * @return MartinHotelServiceType hotelservicetype |
|
| 56 | 56 | */ |
| 57 | 57 | public function &create($isNew = true) |
| 58 | 58 | { |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | * @author Martin <[email protected]> |
| 179 | 179 | * @param object $hotelservicetype |
| 180 | 180 | * @param bool $force |
| 181 | - * @return bool|void |
|
| 181 | + * @return boolean |
|
| 182 | 182 | */ |
| 183 | 183 | public function delete(&$hotelservicetype, $force = false) |
| 184 | 184 | { |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | /** |
| 247 | 247 | * create a new hotel order |
| 248 | 248 | * @param bool $isNew flag the new objects as "new"? |
| 249 | - * @return object order |
|
| 249 | + * @return MartinOrder order |
|
| 250 | 250 | */ |
| 251 | 251 | public function &create($isNew = true) |
| 252 | 252 | { |
@@ -409,7 +409,7 @@ discard block |
||
| 409 | 409 | * @author Martin <[email protected]> |
| 410 | 410 | * @param object $order |
| 411 | 411 | * @param bool $force |
| 412 | - * @return bool|void |
|
| 412 | + * @return boolean |
|
| 413 | 413 | */ |
| 414 | 414 | public function delete(&$order, $force = false) |
| 415 | 415 | { |
@@ -575,7 +575,7 @@ discard block |
||
| 575 | 575 | * @created :2010年06月07日 20时25分 |
| 576 | 576 | * @copyright 1997-2010 The Martin Group |
| 577 | 577 | * @author Martin <[email protected]> |
| 578 | - * @param $order_id |
|
| 578 | + * @param integer $order_id |
|
| 579 | 579 | * @return array |
| 580 | 580 | */ |
| 581 | 581 | public function GetOrderRooms($order_id) |
@@ -612,7 +612,7 @@ discard block |
||
| 612 | 612 | * @created :2010年06月07日 20时25分 |
| 613 | 613 | * @copyright 1997-2010 The Martin Group |
| 614 | 614 | * @author Martin <[email protected]> |
| 615 | - * @param $order_id |
|
| 615 | + * @param integer $order_id |
|
| 616 | 616 | * @return array |
| 617 | 617 | */ |
| 618 | 618 | public function GetOrderQueryRooms($order_id) |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | /** |
| 184 | 184 | * create a new hotel city |
| 185 | 185 | * @param bool $isNew flag the new objects as "new"? |
| 186 | - * @return object room |
|
| 186 | + * @return MartinRoom room |
|
| 187 | 187 | */ |
| 188 | 188 | public function &create($isNew = true) |
| 189 | 189 | { |
@@ -225,8 +225,8 @@ discard block |
||
| 225 | 225 | * @created :2010年06月20日 13时09分 |
| 226 | 226 | * @copyright 1997-2010 The Martin Group |
| 227 | 227 | * @author Martin <[email protected]> |
| 228 | - * @param $sql |
|
| 229 | - * @param null $key |
|
| 228 | + * @param string $sql |
|
| 229 | + * @param string $key |
|
| 230 | 230 | * @return array |
| 231 | 231 | */ |
| 232 | 232 | public function GetRows($sql, $key = null) |
@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | * @author Martin <[email protected]> |
| 371 | 371 | * @param object $room |
| 372 | 372 | * @param bool $force |
| 373 | - * @return bool|void |
|
| 373 | + * @return boolean |
|
| 374 | 374 | */ |
| 375 | 375 | public function delete(&$room, $force = false) |
| 376 | 376 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | * @created :2010年06月27日 19时57分 |
| 128 | 128 | * @copyright 1997-2010 The Martin Group |
| 129 | 129 | * @author Martin <[email protected]> |
| 130 | - * @param $sql |
|
| 130 | + * @param string $sql |
|
| 131 | 131 | * @return int |
| 132 | 132 | */ |
| 133 | 133 | public function GetCount($sql) |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | if (!function_exists('GetRanks')) { |
| 218 | 218 | /** |
| 219 | 219 | * @param $xoopsModuleConfig |
| 220 | - * @return mixed |
|
| 220 | + * @return string[] |
|
| 221 | 221 | */ |
| 222 | 222 | function GetRanks(&$xoopsModuleConfig) |
| 223 | 223 | { |
@@ -278,8 +278,8 @@ discard block |
||
| 278 | 278 | * */ |
| 279 | 279 | if (!function_exists('getModuleArray')) { |
| 280 | 280 | /** |
| 281 | - * @param $module_key |
|
| 282 | - * @param null $keyName |
|
| 281 | + * @param string $module_key |
|
| 282 | + * @param string $keyName |
|
| 283 | 283 | * @param bool $is_get_arr |
| 284 | 284 | * @param null $selected |
| 285 | 285 | * @param null $ModuleConfig |
@@ -367,8 +367,8 @@ discard block |
||
| 367 | 367 | * */ |
| 368 | 368 | if (!function_exists('MouthLastDay')) { |
| 369 | 369 | /** |
| 370 | - * @param null $mouth |
|
| 371 | - * @return array|bool|int|string |
|
| 370 | + * @param string $mouth |
|
| 371 | + * @return integer |
|
| 372 | 372 | */ |
| 373 | 373 | function MouthLastDay($mouth = null) |
| 374 | 374 | { |