|
@@ 5729-5734 (lines=6) @@
|
| 5726 |
|
function deleteProperty( $propName, $propix=FALSE ) { |
| 5727 |
|
if( $this->_notExistProp( $propName )) return FALSE; |
| 5728 |
|
$propName = strtoupper( $propName ); |
| 5729 |
|
if( in_array( $propName, array( 'ATTACH', 'ATTENDEE', 'CATEGORIES', 'COMMENT', 'CONTACT', 'DESCRIPTION', 'EXDATE', 'EXRULE', |
| 5730 |
|
'FREEBUSY', 'RDATE', 'RELATED-TO', 'RESOURCES', 'RRULE', 'REQUEST-STATUS', 'TZNAME', 'X-PROP' ))) { |
| 5731 |
|
if( !$propix ) |
| 5732 |
|
$propix = ( isset( $this->propdelix[$propName] )) ? $this->propdelix[$propName] + 2 : 1; |
| 5733 |
|
$this->propdelix[$propName] = --$propix; |
| 5734 |
|
} |
| 5735 |
|
$return = FALSE; |
| 5736 |
|
switch( $propName ) { |
| 5737 |
|
case 'ACTION': |
|
@@ 6009-6014 (lines=6) @@
|
| 6006 |
|
function getProperty( $propName=FALSE, $propix=FALSE, $inclParam=FALSE, $specform=FALSE ) { |
| 6007 |
|
if( $this->_notExistProp( $propName )) return FALSE; |
| 6008 |
|
$propName = ( $propName ) ? strtoupper( $propName ) : 'X-PROP'; |
| 6009 |
|
if( in_array( $propName, array( 'ATTACH', 'ATTENDEE', 'CATEGORIES', 'COMMENT', 'CONTACT', 'DESCRIPTION', 'EXDATE', 'EXRULE', |
| 6010 |
|
'FREEBUSY', 'RDATE', 'RELATED-TO', 'RESOURCES', 'RRULE', 'REQUEST-STATUS', 'TZNAME', 'X-PROP' ))) { |
| 6011 |
|
if( !$propix ) |
| 6012 |
|
$propix = ( isset( $this->propix[$propName] )) ? $this->propix[$propName] + 2 : 1; |
| 6013 |
|
$this->propix[$propName] = --$propix; |
| 6014 |
|
} |
| 6015 |
|
switch( $propName ) { |
| 6016 |
|
case 'ACTION': |
| 6017 |
|
if( !empty( $this->action['value'] )) return ( $inclParam ) ? $this->action : $this->action['value']; |