@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | class XML_HTMLSax3_StartingState { |
46 | 46 | /** |
47 | 47 | * @param XML_HTMLSax3_StateParser subclass |
48 | - * @return constant XML_HTMLSAX3_STATE_TAG |
|
48 | + * @return integer XML_HTMLSAX3_STATE_TAG |
|
49 | 49 | * @access protected |
50 | 50 | */ |
51 | 51 | function parse(&$context) { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | class XML_HTMLSax3_TagState { |
67 | 67 | /** |
68 | 68 | * @param XML_HTMLSax3_StateParser subclass |
69 | - * @return constant the next state to move into |
|
69 | + * @return integer|null the next state to move into |
|
70 | 70 | * @access protected |
71 | 71 | */ |
72 | 72 | function parse(&$context) { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | class XML_HTMLSax3_ClosingTagState { |
98 | 98 | /** |
99 | 99 | * @param XML_HTMLSax3_StateParser subclass |
100 | - * @return constant XML_HTMLSAX3_STATE_START |
|
100 | + * @return integer XML_HTMLSAX3_STATE_START |
|
101 | 101 | * @access protected |
102 | 102 | */ |
103 | 103 | function parse(&$context) { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | |
168 | 168 | /** |
169 | 169 | * @param XML_HTMLSax3_StateParser subclass |
170 | - * @return constant XML_HTMLSAX3_STATE_START |
|
170 | + * @return integer XML_HTMLSAX3_STATE_START |
|
171 | 171 | * @access protected |
172 | 172 | */ |
173 | 173 | function parse(&$context) { |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | class XML_HTMLSax3_EscapeState { |
206 | 206 | /** |
207 | 207 | * @param XML_HTMLSax3_StateParser subclass |
208 | - * @return constant XML_HTMLSAX3_STATE_START |
|
208 | + * @return integer XML_HTMLSAX3_STATE_START |
|
209 | 209 | * @access protected |
210 | 210 | */ |
211 | 211 | function parse(&$context) { |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | class XML_HTMLSax3_JaspState { |
248 | 248 | /** |
249 | 249 | * @param XML_HTMLSax3_StateParser subclass |
250 | - * @return constant XML_HTMLSAX3_STATE_START |
|
250 | + * @return integer XML_HTMLSAX3_STATE_START |
|
251 | 251 | * @access protected |
252 | 252 | */ |
253 | 253 | function parse(&$context) { |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | class XML_HTMLSax3_PiState { |
270 | 270 | /** |
271 | 271 | * @param XML_HTMLSax3_StateParser subclass |
272 | - * @return constant XML_HTMLSAX3_STATE_START |
|
272 | + * @return integer XML_HTMLSAX3_STATE_START |
|
273 | 273 | * @access protected |
274 | 274 | */ |
275 | 275 | function parse(&$context) { |
@@ -954,7 +954,7 @@ |
||
954 | 954 | * Send raw data to the server. |
955 | 955 | * @param string $data The data to send |
956 | 956 | * @access public |
957 | - * @return integer|boolean The number of bytes sent to the server or false on error |
|
957 | + * @return integer The number of bytes sent to the server or false on error |
|
958 | 958 | */ |
959 | 959 | public function client_send($data) |
960 | 960 | { |
@@ -665,6 +665,12 @@ discard block |
||
665 | 665 | } |
666 | 666 | } |
667 | 667 | |
668 | +/** |
|
669 | + * @param string $body |
|
670 | + * @param integer $pos |
|
671 | + * @param string $trans_image_path |
|
672 | + * @param boolean $block_external_images |
|
673 | + */ |
|
668 | 674 | function tln_fixstyle($body, $pos, $trans_image_path, $block_external_images) |
669 | 675 | { |
670 | 676 | $me = 'tln_fixstyle'; |
@@ -794,6 +800,9 @@ discard block |
||
794 | 800 | return array($content, $newpos); |
795 | 801 | } |
796 | 802 | |
803 | +/** |
|
804 | + * @param string $trans_image_path |
|
805 | + */ |
|
797 | 806 | function tln_body2div($attary, $trans_image_path) |
798 | 807 | { |
799 | 808 | $me = 'tln_body2div'; |
@@ -835,8 +844,8 @@ discard block |
||
835 | 844 | * |
836 | 845 | * @param string $body The HTML you wish to filter |
837 | 846 | * @param array $tag_list see description above |
838 | - * @param array $rm_tags_with_content see description above |
|
839 | - * @param array $self_closing_tags see description above |
|
847 | + * @param string[] $rm_tags_with_content see description above |
|
848 | + * @param string[] $self_closing_tags see description above |
|
840 | 849 | * @param boolean $force_tag_closing see description above |
841 | 850 | * @param array $rm_attnames see description above |
842 | 851 | * @param array $bad_attvals see description above |
@@ -70,6 +70,9 @@ discard block |
||
70 | 70 | var $module; |
71 | 71 | var $massUpdateData = ''; |
72 | 72 | |
73 | + /** |
|
74 | + * @param string $module |
|
75 | + */ |
|
73 | 76 | function PopupSmarty($seed, $module){ |
74 | 77 | parent::ListViewSmarty(); |
75 | 78 | $this->th = new TemplateHandler(); |
@@ -108,6 +111,7 @@ discard block |
||
108 | 111 | * @param file file Template file to use |
109 | 112 | * @param data array from ListViewData |
110 | 113 | * @param html_var string the corresponding html var in xtpl per row |
114 | + * @param string $htmlVar |
|
111 | 115 | * |
112 | 116 | */ |
113 | 117 | function process($file, $data, $htmlVar) { |
@@ -213,6 +213,9 @@ discard block |
||
213 | 213 | |
214 | 214 | /* Mailhide related code */ |
215 | 215 | |
216 | +/** |
|
217 | + * @param string $ky |
|
218 | + */ |
|
216 | 219 | function _recaptcha_aes_encrypt($val,$ky) { |
217 | 220 | if (! function_exists ("mcrypt_encrypt")) { |
218 | 221 | die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed."); |
@@ -224,6 +227,9 @@ discard block |
||
224 | 227 | } |
225 | 228 | |
226 | 229 | |
230 | +/** |
|
231 | + * @param null|string $x |
|
232 | + */ |
|
227 | 233 | function _recaptcha_mailhide_urlbase64 ($x) { |
228 | 234 | return strtr(base64_encode ($x), '+/', '-_'); |
229 | 235 | } |
@@ -44,6 +44,9 @@ |
||
44 | 44 | |
45 | 45 | private $soapServer; |
46 | 46 | |
47 | +/** |
|
48 | + * @param string $module |
|
49 | + */ |
|
47 | 50 | function SoapResourceObserver($module) { |
48 | 51 | parent::ResourceObserver($module); |
49 | 52 | } |
@@ -631,6 +631,7 @@ |
||
631 | 631 | * |
632 | 632 | * @param bool $header display this with headers |
633 | 633 | * @param bool $return echo or return the html |
634 | + * @param ListViewSmarty $lv |
|
634 | 635 | * |
635 | 636 | * @return string html of contents |
636 | 637 | */ |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | * Get all global or section variable names. |
190 | 190 | * |
191 | 191 | * @param string $file_name config file to get info for |
192 | - * @param string $section_name (optional) section to get info for |
|
192 | + * @param string $section (optional) section to get info for |
|
193 | 193 | * @return array an array of variables names from the specified file/section |
194 | 194 | */ |
195 | 195 | function get_var_names($file_name, $section = NULL) |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | /** |
343 | 343 | * @param array &$container |
344 | 344 | * @param string $var_name |
345 | - * @param mixed $var_value |
|
345 | + * @param string $var_value |
|
346 | 346 | * @param boolean $booleanize determines whether $var_value is converted to |
347 | 347 | * to true/false |
348 | 348 | */ |
@@ -8,8 +8,7 @@ |
||
8 | 8 | /** |
9 | 9 | * assemble filepath of requested plugin |
10 | 10 | * |
11 | - * @param string $type |
|
12 | - * @param string $name |
|
11 | + * @param Smarty $smarty |
|
13 | 12 | * @return string|false |
14 | 13 | */ |
15 | 14 | function smarty_core_assemble_plugin_filepath($params, &$smarty) |