@@ 2539-2546 (lines=8) @@ | ||
2536 | * @return bool |
|
2537 | */ |
|
2538 | function setExdate( $exdates, $params=FALSE, $index=FALSE ) { |
|
2539 | if( empty( $exdates )) { |
|
2540 | if( $this->getConfig( 'allowEmpty' )) { |
|
2541 | $this->_setMval( $this->exdate, null, $params, FALSE, $index ); |
|
2542 | return TRUE; |
|
2543 | } |
|
2544 | else |
|
2545 | return FALSE; |
|
2546 | } |
|
2547 | $input = array( 'params' => $this->_setParams( $params, array( 'VALUE' => 'DATE-TIME' ))); |
|
2548 | /* ev. check 1:st date and save ev. timezone **/ |
|
2549 | $this->_chkdatecfg( reset( $exdates ), $parno, $input['params'] ); |
|
@@ 2676-2683 (lines=8) @@ | ||
2673 | * @return bool |
|
2674 | */ |
|
2675 | function setFreebusy( $fbType, $fbValues, $params=FALSE, $index=FALSE ) { |
|
2676 | if( empty( $fbValues )) { |
|
2677 | if( $this->getConfig( 'allowEmpty' )) { |
|
2678 | $this->_setMval( $this->freebusy, null, $params, FALSE, $index ); |
|
2679 | return TRUE; |
|
2680 | } |
|
2681 | else |
|
2682 | return FALSE; |
|
2683 | } |
|
2684 | $fbType = strtoupper( $fbType ); |
|
2685 | if(( !in_array( $fbType, array( 'FREE', 'BUSY', 'BUSY-UNAVAILABLE', 'BUSY-TENTATIVE' ))) && |
|
2686 | ( 'X-' != substr( $fbType, 0, 2 ))) |
|
@@ 3053-3060 (lines=8) @@ | ||
3050 | * @return bool |
|
3051 | */ |
|
3052 | function setRdate( $rdates, $params=FALSE, $index=FALSE ) { |
|
3053 | if( empty( $rdates )) { |
|
3054 | if( $this->getConfig( 'allowEmpty' )) { |
|
3055 | $this->_setMval( $this->rdate, null, $params, FALSE, $index ); |
|
3056 | return TRUE; |
|
3057 | } |
|
3058 | else |
|
3059 | return FALSE; |
|
3060 | } |
|
3061 | $input = array( 'params' => $this->_setParams( $params, array( 'VALUE' => 'DATE-TIME' ))); |
|
3062 | if( in_array( $this->objName, array( 'vtimezone', 'standard', 'daylight' ))) { |
|
3063 | unset( $input['params']['TZID'] ); |