@@ -438,7 +438,7 @@ |
||
| 438 | 438 | /** |
| 439 | 439 | * Find name of timestamp column of a table |
| 440 | 440 | * |
| 441 | - * @param $tbl Table name |
|
| 441 | + * @param string $tbl Table name |
|
| 442 | 442 | * @return string |
| 443 | 443 | */ |
| 444 | 444 | public function FindColTs ($tbl) { |
@@ -452,7 +452,7 @@ |
||
| 452 | 452 | /** |
| 453 | 453 | * Set default config |
| 454 | 454 | * |
| 455 | - * @return this |
|
| 455 | + * @return AjaxSelDiv |
|
| 456 | 456 | */ |
| 457 | 457 | protected function SetCfgDefault () { |
| 458 | 458 | parent::SetCfgDefault(); |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * Gen and write cache data file |
| 116 | 116 | * |
| 117 | 117 | * @param string $key |
| 118 | - * @return mixed // Generated cache data. |
|
| 118 | + * @return string // Generated cache data. |
|
| 119 | 119 | */ |
| 120 | 120 | protected function CacheGen($key) { |
| 121 | 121 | $val = $this->CacheGenVal($key); |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | * Write data to cache |
| 233 | 233 | * |
| 234 | 234 | * @param string $key |
| 235 | - * @param mixed $val |
|
| 235 | + * @param string $val |
|
| 236 | 236 | * @return $this |
| 237 | 237 | */ |
| 238 | 238 | public function CacheSet ($key, $val) { |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | /** |
| 326 | 326 | * Set default config |
| 327 | 327 | * |
| 328 | - * @return this |
|
| 328 | + * @return Cache |
|
| 329 | 329 | */ |
| 330 | 330 | protected function SetCfgDefault () { |
| 331 | 331 | parent::SetCfgDefault(); |
@@ -260,8 +260,7 @@ discard block |
||
| 260 | 260 | /** |
| 261 | 261 | * Init treatment |
| 262 | 262 | * |
| 263 | - * @param array $ar_cfg |
|
| 264 | - * @return object |
|
| 263 | + * @return CacheFile |
|
| 265 | 264 | */ |
| 266 | 265 | public function Init () { |
| 267 | 266 | parent::Init(); |
@@ -301,7 +300,7 @@ discard block |
||
| 301 | 300 | /** |
| 302 | 301 | * Set default config |
| 303 | 302 | * |
| 304 | - * @return this |
|
| 303 | + * @return CacheFile |
|
| 305 | 304 | */ |
| 306 | 305 | protected function SetCfgDefault () { |
| 307 | 306 | parent::SetCfgDefault(); |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | /** |
| 192 | 192 | * New memcached object |
| 193 | 193 | * |
| 194 | - * @return object |
|
| 194 | + * @return Memcached |
|
| 195 | 195 | */ |
| 196 | 196 | public function NewObjMemcached () { |
| 197 | 197 | if (!empty($this->aCfg['cache-memcached-server'])) { |
@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | /** |
| 297 | 297 | * Set default config |
| 298 | 298 | * |
| 299 | - * @return this |
|
| 299 | + * @return CacheMemcached |
|
| 300 | 300 | */ |
| 301 | 301 | protected function SetCfgDefault () { |
| 302 | 302 | parent::SetCfgDefault(); |
@@ -351,7 +351,7 @@ discard block |
||
| 351 | 351 | * Set cfg: memcached server |
| 352 | 352 | * |
| 353 | 353 | * @param array $ar_svr 1 or 2 dim array of server(s) |
| 354 | - * @return this |
|
| 354 | + * @return CacheMemcached |
|
| 355 | 355 | */ |
| 356 | 356 | public function SetCfgServer ($ar_svr = array()) { |
| 357 | 357 | if (empty($ar_svr)) |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | /** |
| 199 | 199 | * Set default config |
| 200 | 200 | * |
| 201 | - * @return this |
|
| 201 | + * @return Cache |
|
| 202 | 202 | */ |
| 203 | 203 | protected function SetCfgDefault () { |
| 204 | 204 | parent::SetCfgDefault(); |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | /** |
| 96 | 96 | * Construct function |
| 97 | 97 | * @access public |
| 98 | - * @param array $server Db server information |
|
| 98 | + * @param array $dbserver Db server information |
|
| 99 | 99 | */ |
| 100 | 100 | function __construct($dbserver=array()) |
| 101 | 101 | { |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | /** |
| 192 | 192 | * 获得数据库连接 |
| 193 | 193 | * @param array $server |
| 194 | - * @return object |
|
| 194 | + * @return Adodb |
|
| 195 | 195 | */ |
| 196 | 196 | private function &DbConn($server) |
| 197 | 197 | { |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | /** |
| 263 | 263 | * Init dict content |
| 264 | 264 | * |
| 265 | - * @return object |
|
| 265 | + * @return Dict |
|
| 266 | 266 | */ |
| 267 | 267 | public function Init () { |
| 268 | 268 | parent::Init(); |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | * Insert value to $this->aData |
| 280 | 280 | * |
| 281 | 281 | * @param array $ar_data 1 or 2-dim data array. |
| 282 | - * @return object |
|
| 282 | + * @return Dict |
|
| 283 | 283 | */ |
| 284 | 284 | public function Set ($ar_data) { |
| 285 | 285 | if (empty($ar_data)) { |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | * Insert value to $this->aData |
| 300 | 300 | * |
| 301 | 301 | * @param array $ar_data 2-dim data array. |
| 302 | - * @return object |
|
| 302 | + * @return Dict|null |
|
| 303 | 303 | */ |
| 304 | 304 | protected function SetData ($ar_data) { |
| 305 | 305 | if (empty($ar_data)) { |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | * |
| 242 | 242 | * @param string $s_html |
| 243 | 243 | * @param string $s_add |
| 244 | - * @return stirng |
|
| 244 | + * @return string |
|
| 245 | 245 | */ |
| 246 | 246 | public function AddToFooter ($s_html, $s_add) { |
| 247 | 247 | $i = strrpos($s_html, '</body>'); |
@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | * |
| 260 | 260 | * @param string $s_html |
| 261 | 261 | * @param string $s_add |
| 262 | - * @return stirng |
|
| 262 | + * @return string |
|
| 263 | 263 | */ |
| 264 | 264 | public function AddToFooterBefore ($s_html, $s_add) { |
| 265 | 265 | $i = strrpos($s_html, '<div id="footer">'); |
@@ -413,7 +413,7 @@ discard block |
||
| 413 | 413 | /** |
| 414 | 414 | * Detect and set path of docutils |
| 415 | 415 | * |
| 416 | - * @param $s_path Manual additional path |
|
| 416 | + * @param string $s_path Manual additional path |
|
| 417 | 417 | * @return string |
| 418 | 418 | */ |
| 419 | 419 | public function GetPathDocutils ($s_path) { |
@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | /** |
| 477 | 477 | * Init config vars, give default value. |
| 478 | 478 | * |
| 479 | - * @return this |
|
| 479 | + * @return DocReStructuredText |
|
| 480 | 480 | */ |
| 481 | 481 | public function Init () { |
| 482 | 482 | parent::Init(); |
@@ -540,6 +540,7 @@ discard block |
||
| 540 | 540 | * Tidy output html |
| 541 | 541 | * |
| 542 | 542 | * @param &$s_html |
| 543 | + * @param string $s_html |
|
| 543 | 544 | * @return string |
| 544 | 545 | */ |
| 545 | 546 | protected function Tidy (&$s_html) { |