@@ -657,6 +657,7 @@ discard block |
||
| 657 | 657 | * retrieves all the courses that the user has already subscribed to |
| 658 | 658 | * @author Patrick Cool <[email protected]>, Ghent University, Belgium |
| 659 | 659 | * @param int $user_id: the id of the user |
| 660 | + * @param integer $user_id |
|
| 660 | 661 | * @return array an array containing all the information of the courses of the given user |
| 661 | 662 | */ |
| 662 | 663 | public function get_courses_of_user($user_id) |
@@ -707,13 +708,13 @@ discard block |
||
| 707 | 708 | |
| 708 | 709 | /** |
| 709 | 710 | * @todo use the template system |
| 710 | - * @param $title |
|
| 711 | - * @param $content |
|
| 711 | + * @param string|null $title |
|
| 712 | + * @param string $content |
|
| 712 | 713 | * @param string $id |
| 713 | 714 | * @param array $params |
| 714 | 715 | * @param string $idAccordion |
| 715 | 716 | * @param string $idCollapse |
| 716 | - * @return null|string |
|
| 717 | + * @return string |
|
| 717 | 718 | */ |
| 718 | 719 | public function show_right_block( |
| 719 | 720 | $title, |
@@ -937,7 +938,7 @@ discard block |
||
| 937 | 938 | } |
| 938 | 939 | |
| 939 | 940 | /** |
| 940 | - * @return null|string |
|
| 941 | + * @return string |
|
| 941 | 942 | */ |
| 942 | 943 | public function return_course_block() |
| 943 | 944 | { |
@@ -1590,8 +1591,8 @@ discard block |
||
| 1590 | 1591 | |
| 1591 | 1592 | /** |
| 1592 | 1593 | * Return HTML code for personal user course category |
| 1593 | - * @param $id |
|
| 1594 | - * @param $title |
|
| 1594 | + * @param integer $id |
|
| 1595 | + * @param string $title |
|
| 1595 | 1596 | * @return string |
| 1596 | 1597 | */ |
| 1597 | 1598 | private static function getHtmlForUserCategory($id, $title) |
@@ -1612,7 +1613,7 @@ discard block |
||
| 1612 | 1613 | /** |
| 1613 | 1614 | * return HTML code for course display in session view |
| 1614 | 1615 | * @param array $courseInfo |
| 1615 | - * @param $userCategoryId |
|
| 1616 | + * @param integer $userCategoryId |
|
| 1616 | 1617 | * @param bool $displayButton |
| 1617 | 1618 | * @param $loadDirs |
| 1618 | 1619 | * @return string |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @return BBBPlugin|null |
|
| 45 | + * @return BBBPlugin |
|
| 46 | 46 | */ |
| 47 | 47 | public static function create() |
| 48 | 48 | { |
@@ -366,6 +366,9 @@ discard block |
||
| 366 | 366 | Output: $expandedLinks the expanded links |
| 367 | 367 | \*======================================================================*/ |
| 368 | 368 | |
| 369 | + /** |
|
| 370 | + * @param string $links |
|
| 371 | + */ |
|
| 369 | 372 | private function _expandlinks($links,$URI) |
| 370 | 373 | { |
| 371 | 374 | |
@@ -400,6 +403,9 @@ discard block |
||
| 400 | 403 | Output: |
| 401 | 404 | \*======================================================================*/ |
| 402 | 405 | |
| 406 | + /** |
|
| 407 | + * @param string $http_method |
|
| 408 | + */ |
|
| 403 | 409 | private function _httprequest($url,$fp,$URI,$http_method,$content_type="",$body="") |
| 404 | 410 | { |
| 405 | 411 | if($this->passcookies && $this->_redirectaddr) |
@@ -583,6 +589,9 @@ discard block |
||
| 583 | 589 | Output: |
| 584 | 590 | \*======================================================================*/ |
| 585 | 591 | |
| 592 | + /** |
|
| 593 | + * @param string $http_method |
|
| 594 | + */ |
|
| 586 | 595 | private function _httpsrequest($url,$URI,$http_method,$content_type="",$body="") |
| 587 | 596 | { |
| 588 | 597 | if($this->passcookies && $this->_redirectaddr) |
@@ -766,6 +775,9 @@ discard block |
||
| 766 | 775 | Input: $fp file pointer |
| 767 | 776 | \*======================================================================*/ |
| 768 | 777 | |
| 778 | + /** |
|
| 779 | + * @param boolean $fp |
|
| 780 | + */ |
|
| 769 | 781 | private function _connect(&$fp) |
| 770 | 782 | { |
| 771 | 783 | if(!empty($this->proxy_host) && !empty($this->proxy_port)) |
@@ -50,6 +50,9 @@ discard block |
||
| 50 | 50 | Input: url from wich the rss file was fetched |
| 51 | 51 | Output: true on sucess |
| 52 | 52 | \*=======================================================================*/ |
| 53 | + /** |
|
| 54 | + * @param string $url |
|
| 55 | + */ |
|
| 53 | 56 | public function set ($url, $rss) { |
| 54 | 57 | $this->ERROR = ""; |
| 55 | 58 | $cache_file = $this->file_name( $url ); |
@@ -76,6 +79,9 @@ discard block |
||
| 76 | 79 | Input: url from wich the rss file was fetched |
| 77 | 80 | Output: cached object on HIT, false on MISS |
| 78 | 81 | \*=======================================================================*/ |
| 82 | + /** |
|
| 83 | + * @param string $url |
|
| 84 | + */ |
|
| 79 | 85 | public function get ($url) { |
| 80 | 86 | $this->ERROR = ""; |
| 81 | 87 | $cache_file = $this->file_name( $url ); |
@@ -112,6 +118,9 @@ discard block |
||
| 112 | 118 | Input: url from wich the rss file was fetched |
| 113 | 119 | Output: cached object on HIT, false on MISS |
| 114 | 120 | \*=======================================================================*/ |
| 121 | + /** |
|
| 122 | + * @param string $url |
|
| 123 | + */ |
|
| 115 | 124 | public function check_cache ( $url ) { |
| 116 | 125 | $this->ERROR = ""; |
| 117 | 126 | $filename = $this->file_name( $url ); |
@@ -158,6 +167,9 @@ discard block |
||
| 158 | 167 | /*=======================================================================*\ |
| 159 | 168 | Function: unserialize |
| 160 | 169 | \*=======================================================================*/ |
| 170 | + /** |
|
| 171 | + * @param string $data |
|
| 172 | + */ |
|
| 161 | 173 | public function unserialize ( $data ) { |
| 162 | 174 | return unserialize( $data ); |
| 163 | 175 | } |
@@ -228,6 +228,9 @@ discard block |
||
| 228 | 228 | Purpose: set MAGPIE_ERROR, and trigger error |
| 229 | 229 | \*=======================================================================*/ |
| 230 | 230 | |
| 231 | +/** |
|
| 232 | + * @param integer $lvl |
|
| 233 | + */ |
|
| 231 | 234 | function error ($errormsg, $lvl=E_USER_WARNING) { |
| 232 | 235 | global $MAGPIE_ERROR; |
| 233 | 236 | |
@@ -242,6 +245,9 @@ discard block |
||
| 242 | 245 | } |
| 243 | 246 | } |
| 244 | 247 | |
| 248 | +/** |
|
| 249 | + * @param integer $lvl |
|
| 250 | + */ |
|
| 245 | 251 | function debug ($debugmsg, $lvl=E_USER_NOTICE) { |
| 246 | 252 | trigger_error("MagpieRSS [debug] $debugmsg", $lvl); |
| 247 | 253 | } |
@@ -288,6 +294,9 @@ discard block |
||
| 288 | 294 | Input: an HTTP response object (see Snoopy) |
| 289 | 295 | Output: parsed RSS object (see rss_parse) |
| 290 | 296 | \*=======================================================================*/ |
| 297 | +/** |
|
| 298 | + * @param Snoopy $resp |
|
| 299 | + */ |
|
| 291 | 300 | function _response_to_rss ($resp) { |
| 292 | 301 | $rss = new MagpieRSS( $resp->results, MAGPIE_OUTPUT_ENCODING, MAGPIE_INPUT_ENCODING, MAGPIE_DETECT_ENCODING ); |
| 293 | 302 | |
@@ -449,6 +449,10 @@ discard block |
||
| 449 | 449 | /** |
| 450 | 450 | * return XML parser, and possibly re-encoded source |
| 451 | 451 | * |
| 452 | + * @param string $source |
|
| 453 | + * @param string $out_enc |
|
| 454 | + * @param string|null $in_enc |
|
| 455 | + * @param boolean $detect |
|
| 452 | 456 | */ |
| 453 | 457 | public function create_parser($source, $out_enc, $in_enc, $detect) { |
| 454 | 458 | if ( substr(phpversion(),0,1) == 5) { |
@@ -558,6 +562,9 @@ discard block |
||
| 558 | 562 | } |
| 559 | 563 | } |
| 560 | 564 | |
| 565 | + /** |
|
| 566 | + * @param integer $lvl |
|
| 567 | + */ |
|
| 561 | 568 | public function error ($errormsg, $lvl=E_USER_WARNING) { |
| 562 | 569 | // append PHP's error message if track_errors enabled |
| 563 | 570 | if ( isset($php_errormsg) ) { |
@@ -593,6 +600,9 @@ discard block |
||
| 593 | 600 | define("CASE_LOWER",0); |
| 594 | 601 | |
| 595 | 602 | |
| 603 | + /** |
|
| 604 | + * @param integer $case |
|
| 605 | + */ |
|
| 596 | 606 | function array_change_key_case($array,$case=CASE_LOWER) { |
| 597 | 607 | if ($case=CASE_LOWER) $cmd=strtolower; |
| 598 | 608 | elseif ($case=CASE_UPPER) $cmd=strtoupper; |
@@ -23,6 +23,9 @@ |
||
| 23 | 23 | //echo $data[ROOT_START_BLOCK_POS]; |
| 24 | 24 | //function log |
| 25 | 25 | |
| 26 | +/** |
|
| 27 | + * @param integer $pos |
|
| 28 | + */ |
|
| 26 | 29 | function GetInt4d($data, $pos) |
| 27 | 30 | {
|
| 28 | 31 | $value = ord($data[$pos]) | (ord($data[$pos+1]) << 8) | (ord($data[$pos+2]) << 16) | (ord($data[$pos+3]) << 24); |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 138 | 138 | * @since 2.4.8 - 2008-10-21 |
| 139 | 139 | * @param string $value |
| 140 | - * @return void |
|
| 140 | + * @return false|null |
|
| 141 | 141 | */ |
| 142 | 142 | function setCalscale( $value ) { |
| 143 | 143 | if( empty( $value )) return FALSE; |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 274 | 274 | * @since 2.4.8 - 2008-10-23 |
| 275 | 275 | * @param string $value |
| 276 | - * @return void |
|
| 276 | + * @return boolean |
|
| 277 | 277 | */ |
| 278 | 278 | function setVersion( $value ) { |
| 279 | 279 | if( empty( $value )) return FALSE; |
@@ -397,7 +397,7 @@ discard block |
||
| 397 | 397 | * @since 2.5.1 - 2008-11-02 |
| 398 | 398 | * @param string $propName, optional |
| 399 | 399 | * @param int @propix, optional, if specific property is wanted in case of multiply occurences |
| 400 | - * @param bool $inclParam=FALSE |
|
| 400 | + * @param bool $inclParam |
|
| 401 | 401 | * @return mixed |
| 402 | 402 | */ |
| 403 | 403 | function getProperty( $propName=FALSE, $propix=FALSE, $inclParam=FALSE ) { |
@@ -448,9 +448,6 @@ discard block |
||
| 448 | 448 | * |
| 449 | 449 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 450 | 450 | * @since 2.2.13 - 2007-11-04 |
| 451 | - * @param mixed $args variable number of function arguments, |
|
| 452 | - * first argument is ALWAYS component name, |
|
| 453 | - * second ALWAYS component value! |
|
| 454 | 451 | * @return bool |
| 455 | 452 | */ |
| 456 | 453 | function setProperty () { |
@@ -480,7 +477,7 @@ discard block |
||
| 480 | 477 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 481 | 478 | * @since 2.4.10 - 2008-10-23 |
| 482 | 479 | * @param string $config |
| 483 | - * @return value |
|
| 480 | + * @return string |
|
| 484 | 481 | */ |
| 485 | 482 | function getConfig( $config ) { |
| 486 | 483 | switch( strtoupper( $config )) { |
@@ -701,7 +698,7 @@ discard block |
||
| 701 | 698 | * @since 2.4.10 - 2008-08-05 |
| 702 | 699 | * @param mixed $arg1 ordno / component type / component uid |
| 703 | 700 | * @param mixed $arg2 optional, ordno if arg1 = component type |
| 704 | - * @return void |
|
| 701 | + * @return boolean |
|
| 705 | 702 | */ |
| 706 | 703 | function deleteComponent( $arg1, $arg2=FALSE ) { |
| 707 | 704 | $argType = $index = null; |
@@ -1060,7 +1057,7 @@ discard block |
||
| 1060 | 1057 | * @param object $component calendar component |
| 1061 | 1058 | * @param mixed $arg1 optional, ordno/component type/ component uid |
| 1062 | 1059 | * @param mixed $arg2 optional, ordno if arg1 = component type |
| 1063 | - * @return void |
|
| 1060 | + * @return boolean |
|
| 1064 | 1061 | */ |
| 1065 | 1062 | function setComponent( $component, $arg1=FALSE, $arg2=FALSE ) { |
| 1066 | 1063 | if( '' >= $component->getConfig( 'language')) |
@@ -2311,7 +2308,7 @@ discard block |
||
| 2311 | 2308 | * @param int $min optional |
| 2312 | 2309 | * @param int $sec optional |
| 2313 | 2310 | * @param array $params optional |
| 2314 | - * @return TRUE |
|
| 2311 | + * @return boolean |
|
| 2315 | 2312 | */ |
| 2316 | 2313 | function setDtstamp( $year, $month=FALSE, $day=FALSE, $hour=FALSE, $min=FALSE, $sec=FALSE, $params=FALSE ) { |
| 2317 | 2314 | if( empty( $year )) |
@@ -2794,7 +2791,7 @@ discard block |
||
| 2794 | 2791 | * @param int $min optional |
| 2795 | 2792 | * @param int $sec optional |
| 2796 | 2793 | * @param array $params optional |
| 2797 | - * @return boll |
|
| 2794 | + * @return boolean |
|
| 2798 | 2795 | */ |
| 2799 | 2796 | function setLastModified( $year=FALSE, $month=FALSE, $day=FALSE, $hour=FALSE, $min=FALSE, $sec=FALSE, $params=FALSE ) { |
| 2800 | 2797 | if( empty( $year )) |
@@ -3215,7 +3212,6 @@ discard block |
||
| 3215 | 3212 | * |
| 3216 | 3213 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 3217 | 3214 | * @since 2.5.1 - 2008-11-07 |
| 3218 | - * @param float $relid |
|
| 3219 | 3215 | * @param array $params, optional |
| 3220 | 3216 | * @param index $index, optional |
| 3221 | 3217 | * @return bool |
@@ -3253,7 +3249,7 @@ discard block |
||
| 3253 | 3249 | * @since 2.4.8 - 2008-11-04 |
| 3254 | 3250 | * @param string $value |
| 3255 | 3251 | * @param array $params optional |
| 3256 | - * @return void |
|
| 3252 | + * @return boolean |
|
| 3257 | 3253 | */ |
| 3258 | 3254 | function setRepeat( $value, $params=FALSE ) { |
| 3259 | 3255 | if( empty( $value )) if( $this->getConfig( 'allowEmpty' )) $value = null; else return FALSE; |
@@ -3376,7 +3372,7 @@ discard block |
||
| 3376 | 3372 | * @param array $rruleset |
| 3377 | 3373 | * @param array $params, optional |
| 3378 | 3374 | * @param integer $index, optional |
| 3379 | - * @return void |
|
| 3375 | + * @return boolean |
|
| 3380 | 3376 | */ |
| 3381 | 3377 | function setRrule( $rruleset, $params=FALSE, $index=FALSE ) { |
| 3382 | 3378 | if( empty( $rruleset )) if( $this->getConfig( 'allowEmpty' )) $rruleset = null; else return FALSE; |
@@ -3802,7 +3798,7 @@ discard block |
||
| 3802 | 3798 | * @since 2.4.8 - 2008-11-04 |
| 3803 | 3799 | * @param string $value |
| 3804 | 3800 | * @param string $params optional |
| 3805 | - * @return boll |
|
| 3801 | + * @return boolean |
|
| 3806 | 3802 | */ |
| 3807 | 3803 | function setTzurl( $value, $params=FALSE ) { |
| 3808 | 3804 | if( empty( $value )) if( $this->getConfig( 'allowEmpty' )) $value = null; else return FALSE; |
@@ -3931,7 +3927,7 @@ discard block |
||
| 3931 | 3927 | * @param string $label |
| 3932 | 3928 | * @param mixed $value |
| 3933 | 3929 | * @param array $params optional |
| 3934 | - * @return bool |
|
| 3930 | + * @return null|boolean |
|
| 3935 | 3931 | */ |
| 3936 | 3932 | function setXprop( $label, $value, $params=FALSE ) { |
| 3937 | 3933 | if( empty( $label )) return; |
@@ -4098,7 +4094,7 @@ discard block |
||
| 4098 | 4094 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 4099 | 4095 | * @since 0.9.22 - 2007-04-10 |
| 4100 | 4096 | * @param array $params optional |
| 4101 | - * @param array $ctrKeys optional |
|
| 4097 | + * @param string[] $ctrKeys optional |
|
| 4102 | 4098 | * @return string |
| 4103 | 4099 | */ |
| 4104 | 4100 | function _createParams( $params=array(), $ctrKeys=array() ) { |
@@ -4140,7 +4136,6 @@ discard block |
||
| 4140 | 4136 | * |
| 4141 | 4137 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 4142 | 4138 | * @since 2.4.16 - 2008-10-25 |
| 4143 | - * @param array $date, date to check |
|
| 4144 | 4139 | * @param int $parno, no of date parts (i.e. year, month.. .) |
| 4145 | 4140 | * @return array $params, property parameters |
| 4146 | 4141 | */ |
@@ -4196,7 +4191,6 @@ discard block |
||
| 4196 | 4191 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 4197 | 4192 | * @since 2.2.11 - 2007-11-03 |
| 4198 | 4193 | * @param array $startdate, optional |
| 4199 | - * @param array $duration, optional |
|
| 4200 | 4194 | * @return array duration |
| 4201 | 4195 | */ |
| 4202 | 4196 | function _date2duration( $startdate=FALSE, $enddate=FALSE ) { |
@@ -4230,7 +4224,7 @@ discard block |
||
| 4230 | 4224 | * @since 2.4.8 - 2008-10-30 |
| 4231 | 4225 | * @param array $datetime datetime/(date) |
| 4232 | 4226 | * @param string $tz timezone |
| 4233 | - * @return timestamp |
|
| 4227 | + * @return integer |
|
| 4234 | 4228 | */ |
| 4235 | 4229 | function _date2timestamp( $datetime, $tz=null ) { |
| 4236 | 4230 | $output = null; |
@@ -4580,6 +4574,7 @@ discard block |
||
| 4580 | 4574 | * @param int $hitVal optional, return value if found |
| 4581 | 4575 | * @param int $elseVal optional, return value if not found |
| 4582 | 4576 | * @param int $preSet optional, return value if already preset |
| 4577 | + * @param string $expkey |
|
| 4583 | 4578 | * @return int |
| 4584 | 4579 | */ |
| 4585 | 4580 | function _existRem( &$array, $expkey, $expval=FALSE, $hitVal=null, $elseVal=null, $preSet=null ) { |
@@ -4689,7 +4684,7 @@ discard block |
||
| 4689 | 4684 | * |
| 4690 | 4685 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 4691 | 4686 | * @since 2.4.8 - 2008-10-22 |
| 4692 | - * @param array $recurlabel |
|
| 4687 | + * @param string $recurlabel |
|
| 4693 | 4688 | * @param array $recurdata |
| 4694 | 4689 | * @return string |
| 4695 | 4690 | */ |
@@ -5229,6 +5224,10 @@ discard block |
||
| 5229 | 5224 | else |
| 5230 | 5225 | return FALSE; |
| 5231 | 5226 | } |
| 5227 | + |
|
| 5228 | + /** |
|
| 5229 | + * @param integer $wkst |
|
| 5230 | + */ |
|
| 5232 | 5231 | function _recurIntervalIx( $freq, $date, $wkst ) { |
| 5233 | 5232 | /* create interval index */ |
| 5234 | 5233 | switch( $freq ) { |
@@ -5537,7 +5536,6 @@ discard block |
||
| 5537 | 5536 | * |
| 5538 | 5537 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 5539 | 5538 | * @since 2.4.16 - 2008-10-19 |
| 5540 | - * @param string $offset |
|
| 5541 | 5539 | * @return integer |
| 5542 | 5540 | */ |
| 5543 | 5541 | function _tz2offset( $tz ) { |
@@ -5999,8 +5997,8 @@ discard block |
||
| 5999 | 5997 | * @since 2.5.1 - 2008-11-02 |
| 6000 | 5998 | * @param string $propName, optional |
| 6001 | 5999 | * @param int @propix, optional, if specific property is wanted in case of multiply occurences |
| 6002 | - * @param bool $inclParam=FALSE |
|
| 6003 | - * @param bool $specform=FALSE |
|
| 6000 | + * @param bool $inclParam |
|
| 6001 | + * @param bool $specform |
|
| 6004 | 6002 | * @return mixed |
| 6005 | 6003 | */ |
| 6006 | 6004 | function getProperty( $propName=FALSE, $propix=FALSE, $inclParam=FALSE, $specform=FALSE ) { |
@@ -6193,9 +6191,6 @@ discard block |
||
| 6193 | 6191 | * |
| 6194 | 6192 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 6195 | 6193 | * @since 2.5.1 - 2008-11-05 |
| 6196 | - * @param mixed $args variable number of function arguments, |
|
| 6197 | - * first argument is ALWAYS component name, |
|
| 6198 | - * second ALWAYS component value! |
|
| 6199 | 6194 | * @return void |
| 6200 | 6195 | */ |
| 6201 | 6196 | function setProperty() { |
@@ -6309,7 +6304,7 @@ discard block |
||
| 6309 | 6304 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 6310 | 6305 | * @since 2.5.2 - 2008-10-23 |
| 6311 | 6306 | * @param mixed $unparsedtext, optional, strict rfc2445 formatted, single property string or array of property strings |
| 6312 | - * @return bool FALSE if error occurs during parsing |
|
| 6307 | + * @return boolean|null FALSE if error occurs during parsing |
|
| 6313 | 6308 | * |
| 6314 | 6309 | */ |
| 6315 | 6310 | function parse( $unparsedtext=null ) { |
@@ -6611,7 +6606,7 @@ discard block |
||
| 6611 | 6606 | * @since 2.5.1 - 2008-10-15 |
| 6612 | 6607 | * @param mixed $arg1 ordno / component type / component uid |
| 6613 | 6608 | * @param mixed $arg2 optional, ordno if arg1 = component type |
| 6614 | - * @return void |
|
| 6609 | + * @return boolean |
|
| 6615 | 6610 | */ |
| 6616 | 6611 | function deleteComponent( $arg1, $arg2=FALSE ) { |
| 6617 | 6612 | if( !isset( $this->components )) return FALSE; |
@@ -6814,7 +6809,7 @@ discard block |
||
| 6814 | 6809 | * |
| 6815 | 6810 | * @author Kjell-Inge Gustafsson <[email protected]> |
| 6816 | 6811 | * @since 2.2.8 - 2006-09-03 |
| 6817 | - * @param string $value |
|
| 6812 | + * @param string $string |
|
| 6818 | 6813 | * @return string |
| 6819 | 6814 | */ |
| 6820 | 6815 | function _size75( $string ) { |
@@ -117,6 +117,9 @@ discard block |
||
| 117 | 117 | } |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | + /** |
|
| 121 | + * @param string $name |
|
| 122 | + */ |
|
| 120 | 123 | public function set_name($name) |
| 121 | 124 | { |
| 122 | 125 | if ($this->is_valid_link()) { |
@@ -124,6 +127,9 @@ discard block |
||
| 124 | 127 | } |
| 125 | 128 | } |
| 126 | 129 | |
| 130 | + /** |
|
| 131 | + * @param string $description |
|
| 132 | + */ |
|
| 127 | 133 | public function set_description($description) |
| 128 | 134 | { |
| 129 | 135 | if ($this->is_valid_link()) { |
@@ -131,6 +137,9 @@ discard block |
||
| 131 | 137 | } |
| 132 | 138 | } |
| 133 | 139 | |
| 140 | + /** |
|
| 141 | + * @param integer $max |
|
| 142 | + */ |
|
| 134 | 143 | public function set_max($max) |
| 135 | 144 | { |
| 136 | 145 | if ($this->is_valid_link()) { |