/* Busy status */
const BUSYSTATUS_FREE = 0;
- const BUSYSTATUS_TENATIVE = 1;
+ const BUSYSTATUS_TENTATIVE = 1;
const BUSYSTATUS_BUSY = 2;
const BUSYSTATUS_OUT = 3;
/* Response status */
const RESPONSE_NONE = 0;
const RESPONSE_ORGANIZER = 1;
- const RESPONSE_TENATIVE = 2;
+ const RESPONSE_TENTATIVE = 2;
const RESPONSE_ACCEPTED =3;
const RESPONSE_DECLINED = 4;
const RESPONSE_NORESPONSE = 5; // Not sure what difference this is to NONE?
* Sets the busy status for this appointment
*
* Should be one of:
- * free, tenative, busy, out
+ * free, tentative, busy, out
*
*
* @param string $busy The busy status to use
case 'free':
$busy = self::BUSYSTATUS_FREE;
break;
- case 'tenative':
- $busy = self::BUSYSTATUS_TENATIVE;
+ case 'tentative':
+ $busy = self::BUSYSTATUS_TENTATIVE;
break;
case 'busy':
$busy = self::BUSYSTATUS_BUSY;
/**
* Return the busy status for this appointment.
*
- * @return string One of free, tenative, busy, out
+ * @return string One of free, tentative, busy, out
*/
public function getBusyStatus()
{
case self::BUSYSTATUS_FREE:
return 'free';
break;
- case self::BUSYSTATUS_TENATIVE:
- return 'tenative';
+ case self::BUSYSTATUS_TENTATIVE:
+ return 'tentative';
break;
case self::BUSYSTATUS_BUSY:
return 'busy';
/**
* Set user response type. Should be one of:
- * none, organizer, tenative, accepted, declined
+ * none, organizer, tentative, accepted, declined
*
* @param string $response The response type
*/
case 'organizer':
$response = self::RESPONSE_ORGANIZER;
break;
- case 'tenative':
- $response = self::RESPONSE_TENATIVE;
+ case 'tentative':
+ $response = self::RESPONSE_TENTATIVE;
break;
case 'accepted':
$response = self::RESPONSE_ACCEPTED;
case self::RESPONSE_ORGANIZER:
return 'organizer';
break;
- case self::RESPONSE_TENATIVE:
- return 'tenative';
+ case self::RESPONSE_TENTATIVE:
+ return 'tentative';
break;
case self::RESPONSE_ACCEPTED:
return 'accepted';