@@ -2029,6 +2029,10 @@ discard block |
||
| 2029 | 2029 | // Description : |
| 2030 | 2030 | // Parameters : |
| 2031 | 2031 | // -------------------------------------------------------------------------------- |
| 2032 | + |
|
| 2033 | + /** |
|
| 2034 | + * @param string $p_mode |
|
| 2035 | + */ |
|
| 2032 | 2036 | function privOpenFd($p_mode) |
| 2033 | 2037 | { |
| 2034 | 2038 | //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privOpenFd", 'mode='.$p_mode); |
@@ -4711,6 +4715,10 @@ discard block |
||
| 4711 | 4715 | // Parameters : |
| 4712 | 4716 | // Return Values : |
| 4713 | 4717 | // -------------------------------------------------------------------------------- |
| 4718 | + |
|
| 4719 | + /** |
|
| 4720 | + * @param PclZip $p_archive_to_add |
|
| 4721 | + */ |
|
| 4714 | 4722 | function privMerge(&$p_archive_to_add) |
| 4715 | 4723 | { |
| 4716 | 4724 | //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privMerge", "archive='".$p_archive_to_add->zipname."'"); |
@@ -5288,6 +5296,11 @@ discard block |
||
| 5288 | 5296 | // 3 : src & dest gzip |
| 5289 | 5297 | // Return Values : |
| 5290 | 5298 | // -------------------------------------------------------------------------------- |
| 5299 | + |
|
| 5300 | + /** |
|
| 5301 | + * @param integer $p_src |
|
| 5302 | + * @param integer $p_dest |
|
| 5303 | + */ |
|
| 5291 | 5304 | function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0) |
| 5292 | 5305 | { |
| 5293 | 5306 | //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZipUtilCopyBlock", "size=$p_size, mode=$p_mode"); |
@@ -5360,6 +5373,11 @@ discard block |
||
| 5360 | 5373 | // Return Values : |
| 5361 | 5374 | // 1 on success, 0 on failure. |
| 5362 | 5375 | // -------------------------------------------------------------------------------- |
| 5376 | + |
|
| 5377 | + /** |
|
| 5378 | + * @param string $p_src |
|
| 5379 | + * @param string $p_dest |
|
| 5380 | + */ |
|
| 5363 | 5381 | function PclZipUtilRename($p_src, $p_dest) |
| 5364 | 5382 | { |
| 5365 | 5383 | //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZipUtilRename", "source=$p_src, destination=$p_dest"); |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | /** |
| 191 | 191 | * Returns the next character from the XML document or void if at end |
| 192 | 192 | * @access protected |
| 193 | - * @return mixed |
|
| 193 | + * @return string|null |
|
| 194 | 194 | */ |
| 195 | 195 | function scanCharacter() { |
| 196 | 196 | if ($this->position < $this->length) { |
@@ -326,6 +326,7 @@ discard block |
||
| 326 | 326 | * parser options |
| 327 | 327 | * @var XML_HTMLSax3 instance of user front end class |
| 328 | 328 | * @access protected |
| 329 | + * @param XML_HTMLSax3 $htmlsax |
|
| 329 | 330 | */ |
| 330 | 331 | function XML_HTMLSax3_StateParser_Lt430(& $htmlsax) { |
| 331 | 332 | parent::XML_HTMLSax3_StateParser($htmlsax); |
@@ -390,6 +391,7 @@ discard block |
||
| 390 | 391 | * parser options |
| 391 | 392 | * @var XML_HTMLSax3 instance of user front end class |
| 392 | 393 | * @access protected |
| 394 | + * @param XML_HTMLSax3 $htmlsax |
|
| 393 | 395 | */ |
| 394 | 396 | function XML_HTMLSax3_StateParser_Gtet430(& $htmlsax) { |
| 395 | 397 | parent::XML_HTMLSax3_StateParser($htmlsax); |
@@ -499,9 +501,9 @@ discard block |
||
| 499 | 501 | /** |
| 500 | 502 | * Sets the user defined handler object. Returns a PEAR Error |
| 501 | 503 | * if supplied argument is not an object. |
| 502 | - * @param object handler object containing SAX callback methods |
|
| 504 | + * @param object XML_HTMLSax3_NullHandler object containing SAX callback methods |
|
| 503 | 505 | * @access public |
| 504 | - * @return mixed |
|
| 506 | + * @return boolean|null |
|
| 505 | 507 | */ |
| 506 | 508 | function set_object(&$object) { |
| 507 | 509 | if ( is_object($object) ) { |
@@ -537,8 +539,9 @@ discard block |
||
| 537 | 539 | * XML_OPTION_ENTITIES_PARSED and XML_OPTION_CASE_FOLDING |
| 538 | 540 | * @param string name of parser option |
| 539 | 541 | * @param int (optional) 1 to switch on, 0 for off |
| 542 | + * @param string $name |
|
| 540 | 543 | * @access public |
| 541 | - * @return boolean |
|
| 544 | + * @return boolean|null |
|
| 542 | 545 | */ |
| 543 | 546 | function set_option($name, $value=1) { |
| 544 | 547 | if ( array_key_exists($name,$this->state_parser->parser_options) ) { |
@@ -559,6 +562,7 @@ discard block |
||
| 559 | 562 | * function myDataHander(& $parser,$data){} |
| 560 | 563 | * </pre> |
| 561 | 564 | * @param string name of method |
| 565 | + * @param string $data_method |
|
| 562 | 566 | * @access public |
| 563 | 567 | * @return void |
| 564 | 568 | * @see set_object |
@@ -582,6 +586,8 @@ discard block |
||
| 582 | 586 | * </pre> |
| 583 | 587 | * @param string name of open method |
| 584 | 588 | * @param string name of close method |
| 589 | + * @param string $opening_method |
|
| 590 | + * @param string $closing_method |
|
| 585 | 591 | * @access public |
| 586 | 592 | * @return void |
| 587 | 593 | * @see set_object |
@@ -601,6 +607,7 @@ discard block |
||
| 601 | 607 | * function myPIHander(& $parser,$target, $data){} |
| 602 | 608 | * </pre> |
| 603 | 609 | * @param string name of method |
| 610 | + * @param string $pi_method |
|
| 604 | 611 | * @access public |
| 605 | 612 | * @return void |
| 606 | 613 | * @see set_object |
@@ -619,6 +626,7 @@ discard block |
||
| 619 | 626 | * function myEscapeHander(& $parser, $data){} |
| 620 | 627 | * </pre> |
| 621 | 628 | * @param string name of method |
| 629 | + * @param string $escape_method |
|
| 622 | 630 | * @access public |
| 623 | 631 | * @return void |
| 624 | 632 | * @see set_object |
@@ -636,6 +644,7 @@ discard block |
||
| 636 | 644 | * function myJaspHander(& $parser, $data){} |
| 637 | 645 | * </pre> |
| 638 | 646 | * @param string name of method |
| 647 | + * @param string $jasp_method |
|
| 639 | 648 | * @access public |
| 640 | 649 | * @return void |
| 641 | 650 | * @see set_object |
@@ -49,6 +49,7 @@ discard block |
||
| 49 | 49 | * Constructs XML_HTMLSax3_Trim |
| 50 | 50 | * @param object handler object being decorated |
| 51 | 51 | * @param string original handler method |
| 52 | + * @param string $orig_method |
|
| 52 | 53 | * @access protected |
| 53 | 54 | */ |
| 54 | 55 | function XML_HTMLSax3_Trim(&$orig_obj, $orig_method) { |
@@ -97,6 +98,8 @@ discard block |
||
| 97 | 98 | * @param object handler object being decorated |
| 98 | 99 | * @param string original open handler method |
| 99 | 100 | * @param string original close handler method |
| 101 | + * @param string $orig_open_method |
|
| 102 | + * @param string $orig_close_method |
|
| 100 | 103 | * @access protected |
| 101 | 104 | */ |
| 102 | 105 | function XML_HTMLSax3_CaseFolding(&$orig_obj, $orig_open_method, $orig_close_method) { |
@@ -147,6 +150,7 @@ discard block |
||
| 147 | 150 | * Constructs XML_HTMLSax3_LineFeed |
| 148 | 151 | * @param object handler object being decorated |
| 149 | 152 | * @param string original handler method |
| 153 | + * @param string $orig_method |
|
| 150 | 154 | * @access protected |
| 151 | 155 | */ |
| 152 | 156 | function XML_HTMLSax3_LineFeed(&$orig_obj, $orig_method) { |
@@ -189,6 +193,7 @@ discard block |
||
| 189 | 193 | * Constructs XML_HTMLSax3_Tab |
| 190 | 194 | * @param object handler object being decorated |
| 191 | 195 | * @param string original handler method |
| 196 | + * @param string $orig_method |
|
| 192 | 197 | * @access protected |
| 193 | 198 | */ |
| 194 | 199 | function XML_HTMLSax3_Tab(&$orig_obj, $orig_method) { |
@@ -232,6 +237,7 @@ discard block |
||
| 232 | 237 | * Constructs XML_HTMLSax3_Entities_Parsed |
| 233 | 238 | * @param object handler object being decorated |
| 234 | 239 | * @param string original handler method |
| 240 | + * @param string $orig_method |
|
| 235 | 241 | * @access protected |
| 236 | 242 | */ |
| 237 | 243 | function XML_HTMLSax3_Entities_Parsed(&$orig_obj, $orig_method) { |
@@ -256,6 +262,10 @@ discard block |
||
| 256 | 262 | * Compatibility with older PHP versions |
| 257 | 263 | */ |
| 258 | 264 | if (version_compare(phpversion(), '4.3', '<') && !function_exists('html_entity_decode') ) { |
| 265 | + |
|
| 266 | + /** |
|
| 267 | + * @param integer $style |
|
| 268 | + */ |
|
| 259 | 269 | function html_entity_decode($str, $style=ENT_NOQUOTES) { |
| 260 | 270 | return strtr($str, |
| 261 | 271 | array_flip(get_html_translation_table(HTML_ENTITIES,$style))); |
@@ -284,6 +294,7 @@ discard block |
||
| 284 | 294 | * Constructs XML_HTMLSax3_Entities_Unparsed |
| 285 | 295 | * @param object handler object being decorated |
| 286 | 296 | * @param string original handler method |
| 297 | + * @param string $orig_method |
|
| 287 | 298 | * @access protected |
| 288 | 299 | */ |
| 289 | 300 | function XML_HTMLSax3_Entities_Unparsed(&$orig_obj, $orig_method) { |
@@ -327,6 +338,7 @@ discard block |
||
| 327 | 338 | * Constructs XML_HTMLSax3_Entities_Unparsed |
| 328 | 339 | * @param object handler object being decorated |
| 329 | 340 | * @param string original handler method |
| 341 | + * @param string $orig_method |
|
| 330 | 342 | * @access protected |
| 331 | 343 | */ |
| 332 | 344 | function XML_HTMLSax3_Escape_Stripper(&$orig_obj, $orig_method) { |
@@ -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 | } |