@@ -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()) { |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | 95 | * Return an array of all known link types |
| 96 | - * @return array |
|
| 96 | + * @return integer[] |
|
| 97 | 97 | */ |
| 98 | 98 | public static function get_all_types() |
| 99 | 99 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | interface HookResubscribeObserverInterface extends HookObserverInterface |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @param HookResubscribeObserverInterface $hook |
|
| 15 | + * @param HookResubscribeEventInterface $hook |
|
| 16 | 16 | * |
| 17 | 17 | * @return int |
| 18 | 18 | */ |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | interface HookSkypeObserverInterface extends HookObserverInterface |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @param HookSkypeObserverInterface $hook |
|
| 15 | + * @param HookSkypeEventInterface $hook |
|
| 16 | 16 | * |
| 17 | 17 | * @return int |
| 18 | 18 | */ |
@@ -239,6 +239,7 @@ |
||
| 239 | 239 | /** |
| 240 | 240 | * @author Isaac flores paz <[email protected]> |
| 241 | 241 | * @param String The xapian error message |
| 242 | + * @param string $xapian_error_message |
|
| 242 | 243 | * @return String The chamilo error message |
| 243 | 244 | */ |
| 244 | 245 | function display_xapian_error($xapian_error_message) { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param array $additionalParameters |
| 23 | 23 | * |
| 24 | - * @return mixed |
|
| 24 | + * @return void |
|
| 25 | 25 | */ |
| 26 | 26 | public function send($additionalParameters); |
| 27 | 27 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * Start a timer and hand it back to the JS by assigning the current time (of start) to |
| 11 | 11 | * var asset_timer |
| 12 | - * @return string JavaScript time intializer |
|
| 12 | + * @return integer JavaScript time intializer |
|
| 13 | 13 | */ |
| 14 | 14 | function start_timer() { |
| 15 | 15 | $time = time(); |