/**
  *  Add a property to the current component
  *
  *  @access protected
  *  @param  File_iCal_Property  $property   The property to add to this component
  *  @param  bool                $multiple   Whether this is a multiple property
  */
 protected function addProperty($property, $multiple = false)
 {
     //File_iCal_Property
     $name = $property->getName();
     if (!array_key_exists($name, $this->_properties)) {
         if ($multiple) {
             $this->_properties[$name] = array();
             $this->_properties[$name][] = $property;
             return;
         } else {
             $this->_properties[$name] = $property;
             return;
         }
     } else {
         if ($multiple) {
             $this->_properties[$name][] = $property;
             return;
         } else {
             //the logic before addProperty should have prevented this from happening...
             trigger_error("Trying to insert a property (" . $name . ") that already exists.  This function should never have been called", E_USER_ERROR);
         }
     }
 }