@@ -165,6 +165,10 @@ discard block |
||
| 165 | 165 | '\~' => 'TNC Stream SW'); |
| 166 | 166 | |
| 167 | 167 | |
| 168 | + /** |
|
| 169 | + * @param integer $n |
|
| 170 | + * @param integer $s |
|
| 171 | + */ |
|
| 168 | 172 | private function urshift($n, $s) { |
| 169 | 173 | return ($n >= 0) ? ($n >> $s) : |
| 170 | 174 | (($n & 0x7fffffff) >> $s) | |
@@ -565,6 +569,9 @@ discard block |
||
| 565 | 569 | socket_close($this->socket); |
| 566 | 570 | } |
| 567 | 571 | |
| 572 | + /** |
|
| 573 | + * @param string $data |
|
| 574 | + */ |
|
| 568 | 575 | public function send($data) { |
| 569 | 576 | global $globalDebug; |
| 570 | 577 | if ($this->connected === false) $this->connect(); |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * Get SQL query part for filter used |
| 16 | 16 | * @param Array $filter the filter |
| 17 | - * @return Array the SQL part |
|
| 17 | + * @return string the SQL part |
|
| 18 | 18 | */ |
| 19 | 19 | public function getFilter($filter = array(),$where = false,$and = false) { |
| 20 | 20 | global $globalFilter, $globalStatsFilters, $globalFilterName; |