@@ -84,6 +84,10 @@ |
||
84 | 84 | } |
85 | 85 | } |
86 | 86 | |
87 | + /** |
|
88 | + * @param string $buffer |
|
89 | + * @param FixedTextDefinition[] $fieldDefinition |
|
90 | + */ |
|
87 | 91 | protected function processBuffer($buffer, $fieldDefinition) |
88 | 92 | { |
89 | 93 | $cntDef = count($fieldDefinition); |
@@ -152,6 +152,9 @@ |
||
152 | 152 | $this->_fieldDeliRight = $right; |
153 | 153 | } |
154 | 154 | |
155 | + /** |
|
156 | + * @param string $sql |
|
157 | + */ |
|
155 | 158 | public static function createSafeSQL($sql, $list) |
156 | 159 | { |
157 | 160 | foreach ($list as $key => $value) { |
@@ -308,6 +308,10 @@ discard block |
||
308 | 308 | return; |
309 | 309 | } |
310 | 310 | |
311 | + /** |
|
312 | + * @param SingleRow[] $seq |
|
313 | + * @param string $field |
|
314 | + */ |
|
311 | 315 | protected function quickSortExec($seq, $field) |
312 | 316 | { |
313 | 317 | if (!count($seq)) return $seq; |
@@ -329,7 +333,7 @@ discard block |
||
329 | 333 | |
330 | 334 | /** |
331 | 335 | * @param $document |
332 | - * @return array|string |
|
336 | + * @return string |
|
333 | 337 | */ |
334 | 338 | public static function fixUTF8($document) |
335 | 339 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * |
74 | - * @param $array |
|
74 | + * @param SingleRow[] $array |
|
75 | 75 | * @return SingleRow[] |
76 | 76 | */ |
77 | 77 | public function match($array) |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | /** |
242 | 242 | * |
243 | 243 | * @param string[] $array |
244 | - * @return string |
|
244 | + * @return boolean |
|
245 | 245 | */ |
246 | 246 | private function evalString($array) |
247 | 247 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * |
17 | 17 | * @param resource $handle |
18 | - * @param array $fieldnames |
|
18 | + * @param string $fieldnames |
|
19 | 19 | * @param string $rowsep |
20 | 20 | * @param string $colsep |
21 | 21 | */ |
@@ -71,7 +71,7 @@ |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @access public |
74 | - * @return DBIterator |
|
74 | + * @return XmlIterator |
|
75 | 75 | */ |
76 | 76 | public function getIterator() |
77 | 77 | { |
@@ -32,6 +32,11 @@ |
||
32 | 32 | private $_current = 0; |
33 | 33 | protected $_registerNS; |
34 | 34 | |
35 | + /** |
|
36 | + * @param DOMNodeList $nodeList |
|
37 | + * @param string[] $colNodes |
|
38 | + * @param string $registerNS |
|
39 | + */ |
|
35 | 40 | public function __construct($nodeList, $colNodes, $registerNS) |
36 | 41 | { |
37 | 42 | if (!($nodeList instanceof DOMNodeList)) { |