function deleteProperty( $propName, $propix=FALSE ) {
    $propName = ( $propName ) ? strtoupper( $propName ) : 'X-PROP';
    if( !$propix )
      $propix = ( isset( $this->propdelix[$propName] )) ? $this->propdelix[$propName] + 2 : 1;
    $this->propdelix[$propName] = --$propix;
    $return = FALSE;
    switch( $propName ) {
      case 'CALSCALE':
        $this->calscale = null;
        $return = TRUE;
        break;
      case 'METHOD':
        $this->method   = null;
        $return = TRUE;
        break;
      default:
        if( $propName != 'X-PROP' ) {
          if( !isset( $this->xprop[$propName] )) return FALSE;
          unset( $this->xprop[$propName] );
          $return = TRUE;
        }
        else {
          if( count( $this->xprop ) <= $propix )  return FALSE;
          $xpropno = 0;
          foreach( $this->xprop as $xpropkey => $xpropvalue ) {
            if( $propix == $xpropno ) {
              unset( $this->xprop[$xpropkey] );
              $return = TRUE;
              break 2;
            }
            else
              $xpropno++;
          }
        }
    }
    return $return;
  }
function deleteProperty( $propName, $propix=FALSE ) {
    $propName = ( $propName ) ? strtoupper( $propName ) : 'X-PROP';
    if( !$propix )
      $propix = ( isset( $this->propdelix[$propName] )) ? $this->propdelix[$propName] + 2 : 1;
    $this->propdelix[$propName] = --$propix;
    $return = FALSE;
    switch( $propName ) {
      case 'CALSCALE':
        $this->calscale = null;
        $return = TRUE;
        break;
      case 'METHOD':
        $this->method   = null;
        $return = TRUE;
        break;
      default:
        if( $propName != 'X-PROP' ) {
          if( !isset( $this->xprop[$propName] )) return FALSE;
          unset( $this->xprop[$propName] );
          $return = TRUE;
        }
        else {
          if( count( $this->xprop ) <= $propix )  return FALSE;
          $xpropno = 0;
          foreach( $this->xprop as $xpropkey => $xpropvalue ) {
            if( $propix == $xpropno ) {
              unset( $this->xprop[$xpropkey] );
              $return = TRUE;
              break 2;
            }
            else
              $xpropno++;
          }
        }
    }
    return $return;
  }
function deleteProperty ( $ propName , $ propix = FALSE ) { $ propName = ( $ propName ) ? strtoupper ( $ propName ) : 'X-PROP' ; if ( ! $ propix ) $ propix = ( isset ( $ this -> propdelix [ $ propName ] ) ) ? $ this -> propdelix [ $ propName ] + 2 : 1 ; $ this -> propdelix [ $ propName ] = -- $ propix ; $ return = FALSE ; switch ( $ propName ) { case 'CALSCALE' : $ this -> calscale = null ; $ return = TRUE ; break ; case 'METHOD' : $ this -> method = null ; $ return = TRUE ; break ; default : if ( $ propName != 'X-PROP' ) { if ( ! isset ( $ this -> xprop [ $ propName ] ) ) return FALSE ; unset ( $ this -> xprop [ $ propName ] ) ; $ return = TRUE ; } else { if ( count ( $ this -> xprop ) <= $ propix ) return FALSE ; $ xpropno = 0 ; foreach ( $ this -> xprop as $ xpropkey => $ xpropvalue ) { if ( $ propix == $ xpropno ) { unset ( $ this -> xprop [ $ xpropkey ] ) ; $ return = TRUE ; break 2 ; } else $ xpropno ++ ; } } } return $ return ; }
delete calendar property value

@author Kjell-Inge Gustafsson <ical@kigkonsult.se>
@since 2.2.15 - 2007-10-29
@param string $propName
@param int @propix, optional, if specific property is wanted in case of multiply occurences
@return bool, if successfull delete
delete calendar property value