function setProperty () {
    $numargs    = func_num_args();
    if( 1 >= $numargs )
      return FALSE;
    $arglist    = func_get_args();
    if( !$this->getConfig( 'allowEmpty' ) && ( !isset( $arglist[1] ) || empty( $arglist[1] )))
      return;
    $arglist[0] = strtoupper( $arglist[0] );
    for( $argix=$numargs; $argix < 3; $argix++ ) {
      if( !isset( $arglist[$argix] ))
        $arglist[$argix] = null;
    }
    switch( $arglist[0] ) {
      case 'CALSCALE':
        $this->setCalscale( $arglist[1] );
        break;
      case 'METHOD':
        $this->setMethod( $arglist[1] );
        break;
      case 'VERSION':
        $this->setVersion( $arglist[1] );
        break;
      default:
        $this->setXprop( $arglist[0], $arglist[1], $arglist[2] );
        break;
    }
  }
function setProperty () {
    $numargs    = func_num_args();
    if( 1 >= $numargs )
      return FALSE;
    $arglist    = func_get_args();
    if( !$this->getConfig( 'allowEmpty' ) && ( !isset( $arglist[1] ) || empty( $arglist[1] )))
      return;
    $arglist[0] = strtoupper( $arglist[0] );
    for( $argix=$numargs; $argix < 3; $argix++ ) {
      if( !isset( $arglist[$argix] ))
        $arglist[$argix] = null;
    }
    switch( $arglist[0] ) {
      case 'CALSCALE':
        $this->setCalscale( $arglist[1] );
        break;
      case 'METHOD':
        $this->setMethod( $arglist[1] );
        break;
      case 'VERSION':
        $this->setVersion( $arglist[1] );
        break;
      default:
        $this->setXprop( $arglist[0], $arglist[1], $arglist[2] );
        break;
    }
  }
function setProperty ( ) { $ numargs = func_num_args ( ) ; if ( 1 >= $ numargs ) return FALSE ; $ arglist = func_get_args ( ) ; if ( ! $ this -> getConfig ( 'allowEmpty' ) && ( ! isset ( $ arglist [ 1 ] ) || empty ( $ arglist [ 1 ] ) ) ) return ; $ arglist [ 0 ] = strtoupper ( $ arglist [ 0 ] ) ; for ( $ argix = $ numargs ; $ argix < 3 ; $ argix ++ ) { if ( ! isset ( $ arglist [ $ argix ] ) ) $ arglist [ $ argix ] = null ; } switch ( $ arglist [ 0 ] ) { case 'CALSCALE' : $ this -> setCalscale ( $ arglist [ 1 ] ) ; break ; case 'METHOD' : $ this -> setMethod ( $ arglist [ 1 ] ) ; break ; case 'VERSION' : $ this -> setVersion ( $ arglist [ 1 ] ) ; break ; default : $ this -> setXprop ( $ arglist [ 0 ] , $ arglist [ 1 ] , $ arglist [ 2 ] ) ; break ; } }
general vcalendar property setting

@author Kjell-Inge Gustafsson <ical@kigkonsult.se>
@since 2.2.13 - 2007-10-23
@param mixed $args variable number of function arguments,
first argument is ALWAYS component name,
second ALWAYS component value!
@return void
general vcalendar property setting