@@ -264,6 +264,7 @@ discard block |
||
| 264 | 264 | * Set the encoding method |
| 265 | 265 | * |
| 266 | 266 | * @param string Encoding to use |
| 267 | + * @param string $encoding |
|
| 267 | 268 | * @access public |
| 268 | 269 | */ |
| 269 | 270 | function setOutputEncoding($encoding) |
@@ -924,6 +925,7 @@ discard block |
||
| 924 | 925 | * Check whether the current record read is a date |
| 925 | 926 | * |
| 926 | 927 | * @param todo |
| 928 | + * @param integer $spos |
|
| 927 | 929 | * @return boolean True if date, false otherwise |
| 928 | 930 | */ |
| 929 | 931 | function isDate($spos) |
@@ -982,6 +984,9 @@ discard block |
||
| 982 | 984 | return array($string, $raw); |
| 983 | 985 | } |
| 984 | 986 | |
| 987 | + /** |
|
| 988 | + * @param integer $spos |
|
| 989 | + */ |
|
| 985 | 990 | function createNumber($spos) |
| 986 | 991 | { |
| 987 | 992 | $rknumhigh = $this->_GetInt4d($this->data, $spos + 10); |
@@ -1000,6 +1005,10 @@ discard block |
||
| 1000 | 1005 | return $value; |
| 1001 | 1006 | } |
| 1002 | 1007 | |
| 1008 | + /** |
|
| 1009 | + * @param integer $row |
|
| 1010 | + * @param integer $col |
|
| 1011 | + */ |
|
| 1003 | 1012 | function addcell($row, $col, $string, $raw = '') |
| 1004 | 1013 | { |
| 1005 | 1014 | //echo "ADD cel $row-$col $string\n"; |
@@ -1014,6 +1023,9 @@ discard block |
||
| 1014 | 1023 | } |
| 1015 | 1024 | |
| 1016 | 1025 | |
| 1026 | + /** |
|
| 1027 | + * @param integer $rknum |
|
| 1028 | + */ |
|
| 1017 | 1029 | function _GetIEEE754($rknum) |
| 1018 | 1030 | { |
| 1019 | 1031 | if (($rknum & 0x02) != 0) { |
@@ -1051,6 +1063,10 @@ discard block |
||
| 1051 | 1063 | /* |
| 1052 | 1064 | * Function modified by jmontoya in order to fix a problem with encoding in excels |
| 1053 | 1065 | * */ |
| 1066 | + |
|
| 1067 | + /** |
|
| 1068 | + * @param string $string |
|
| 1069 | + */ |
|
| 1054 | 1070 | function _encodeUTF16($string, $check = false) { |
| 1055 | 1071 | //var_dump($this->_defaultEncoding.' '.$this->_encoderFunction.' '.$from); |
| 1056 | 1072 | if ($check) { |
@@ -1074,6 +1090,10 @@ discard block |
||
| 1074 | 1090 | */ |
| 1075 | 1091 | } |
| 1076 | 1092 | |
| 1093 | + /** |
|
| 1094 | + * @param string $data |
|
| 1095 | + * @param integer $pos |
|
| 1096 | + */ |
|
| 1077 | 1097 | function _GetInt4d($data, $pos) |
| 1078 | 1098 | { |
| 1079 | 1099 | $value = ord($data[$pos]) | (ord($data[$pos+1]) << 8) | (ord($data[$pos+2]) << 16) | (ord($data[$pos+3]) << 24); |
@@ -116,6 +116,7 @@ |
||
| 116 | 116 | * @param string exception message |
| 117 | 117 | * @param int|Exception|PEAR_Error|array|null exception cause |
| 118 | 118 | * @param int|null exception code or null |
| 119 | + * @param string $message |
|
| 119 | 120 | */ |
| 120 | 121 | public function __construct($message, $p2 = null, $p3 = null) |
| 121 | 122 | { |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | * @param array $attributes Array of attribute |
| 200 | 200 | * @since 1.0 |
| 201 | 201 | * @access private |
| 202 | - * @return bool |
|
| 202 | + * @return boolean|null |
|
| 203 | 203 | */ |
| 204 | 204 | function _getAttrKey($attr, $attributes) |
| 205 | 205 | { |
@@ -265,6 +265,7 @@ discard block |
||
| 265 | 265 | * |
| 266 | 266 | * @param string Attribute name |
| 267 | 267 | * @param string Attribute value (will be set to $name if omitted) |
| 268 | + * @param string $name |
|
| 268 | 269 | * @access public |
| 269 | 270 | */ |
| 270 | 271 | function setAttribute($name, $value = null) |
@@ -689,6 +689,8 @@ discard block |
||
| 689 | 689 | * @param HTML_QuickForm_element Element to insert |
| 690 | 690 | * @param string Name of the element before which the new |
| 691 | 691 | * one is inserted |
| 692 | + * @param HTML_QuickForm_element $element |
|
| 693 | + * @param string $nameAfter |
|
| 692 | 694 | * @return HTML_QuickForm_element reference to inserted element |
| 693 | 695 | * @throws HTML_QuickForm_Error |
| 694 | 696 | */ |
@@ -1290,7 +1292,7 @@ discard block |
||
| 1290 | 1292 | * Applies a data filter for the given field(s) |
| 1291 | 1293 | * |
| 1292 | 1294 | * @param mixed $element Form element name or array of such names |
| 1293 | - * @param mixed $filter Callback, either function name or array(&$object, 'method') |
|
| 1295 | + * @param string $filter Callback, either function name or array(&$object, 'method') |
|
| 1294 | 1296 | * @since 2.0 |
| 1295 | 1297 | * @access public |
| 1296 | 1298 | * @throws HTML_QuickForm_Error |
@@ -2042,6 +2044,7 @@ discard block |
||
| 2042 | 2044 | * |
| 2043 | 2045 | * @access public |
| 2044 | 2046 | * @param int error code |
| 2047 | + * @param integer $value |
|
| 2045 | 2048 | * @return string error message |
| 2046 | 2049 | * @static |
| 2047 | 2050 | */ |
@@ -50,7 +50,8 @@ |
||
| 50 | 50 | /** |
| 51 | 51 | * Removes the '..' and '.' segments from the path component |
| 52 | 52 | * |
| 53 | - * @param string Path component of the URL, possibly with '.' and '..' segments |
|
| 53 | + * @param string Path component of the URL, possibly with '.' and '..' segments |
|
| 54 | + * @param string $path |
|
| 54 | 55 | * @return string Path component of the URL with '.' and '..' segments removed |
| 55 | 56 | * @access private |
| 56 | 57 | */ |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | /** |
| 9 | 9 | * Class constructor |
| 10 | 10 | * |
| 11 | - * @param string $text raw HTML to add |
|
| 12 | 11 | * @access public |
| 13 | 12 | * @return void |
| 14 | 13 | */ |
@@ -234,7 +234,7 @@ |
||
| 234 | 234 | * @param object &$caller calling object |
| 235 | 235 | * @since 1.0 |
| 236 | 236 | * @access public |
| 237 | - * @return void |
|
| 237 | + * @return boolean |
|
| 238 | 238 | */ |
| 239 | 239 | function onQuickFormEvent($event, $arg, &$caller) |
| 240 | 240 | { |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | /** |
| 120 | - * @param mixed $class |
|
| 120 | + * @param string|null $class |
|
| 121 | 121 | */ |
| 122 | 122 | public function setClass($class) |
| 123 | 123 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | - * @return mixed |
|
| 128 | + * @return string|null |
|
| 129 | 129 | */ |
| 130 | 130 | public function getIcon() |
| 131 | 131 | { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @param mixed $icon |
|
| 136 | + * @param string $icon |
|
| 137 | 137 | */ |
| 138 | 138 | public function setIcon($icon) |
| 139 | 139 | { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | } |
| 142 | 142 | |
| 143 | 143 | /** |
| 144 | - * @return mixed |
|
| 144 | + * @return string|null |
|
| 145 | 145 | */ |
| 146 | 146 | public function getStyle() |
| 147 | 147 | { |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | - * @param mixed $style |
|
| 152 | + * @param string $style |
|
| 153 | 153 | */ |
| 154 | 154 | public function setStyle($style) |
| 155 | 155 | { |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | $this->columnsSize = $columnsSize; |
| 181 | 181 | } |
| 182 | 182 | /** |
| 183 | - * @param mixed $size |
|
| 183 | + * @param string $size |
|
| 184 | 184 | */ |
| 185 | 185 | public function setSize($size) |
| 186 | 186 | { |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | * Freeze the element so that only its value is returned |
| 208 | 208 | * |
| 209 | 209 | * @access public |
| 210 | - * @return void |
|
| 210 | + * @return boolean |
|
| 211 | 211 | */ |
| 212 | 212 | public function freeze() |
| 213 | 213 | { |
@@ -191,6 +191,7 @@ |
||
| 191 | 191 | * @access public |
| 192 | 192 | * @param HTML_QuickForm_Page The page that failed to handle the action |
| 193 | 193 | * @param string Name of the action |
| 194 | + * @param HTML_QuickForm_Page $page |
|
| 194 | 195 | * @throws PEAR_Error |
| 195 | 196 | */ |
| 196 | 197 | function handle(&$page, $actionName) |