Creates a new Event.
Event
Event
(
string $name,
string $description,
string $date,
string $time,
int $id,
mixed $extForID,
int $priority,
string $access,
int $duration,
string $status,
string $owner,
$category,
string $login,
string $calType,
string $location,
string $url,
int $dueDate,
int $dueTime,
int $percent,
string $moddate,
string $modtime, [
$guid =
""])
-
string
$name: Name of the event
-
string
$description: Event's description
-
string
$date: Event's date (in YYYYMMDD format)
-
string
$time: Event's time (in HHMMSS format)
-
string
$moddate: Event's mod date (in YYYYMMDD format)
-
string
$modtime: Event's mod time (in HHMMSS format)
-
int
$id: Event's ID
-
mixed
$extForID: Event's extension ID (or '' for none)
-
int
$priority: Event's priority
-
string
$access: Event's access level
-
int
$duration: Event's duration (in minutes)
-
string
$status: Event's status
-
string
$owner: Event's cal_create_by
-
string
$login: Event's owner
-
string
$calType: Event's type
-
string
$location: Event's location
-
string
$url: Event's url
-
int
$dueDate: Task's due date (in YYYYMMDD format)
-
int
$dueTime: Task's due time (in HHMMSS format)
-
int
$percent: Task's percentage of completion
-
$category
-
$guid
Gets the event's access level
string
getAccess
()
Gets the event's type
string
getCalType
()
Gets the event's type name
string
getCalTypeName
()
Gets the event's category ID
mixed
getCategory
()
Get clone
void
getClone
()
Gets the event's date
string
getDate
()
Gets the event's date/time
string
getDateTime
()
void
getDateTimeAdjusted
()
Gets the event's date/time as a Unix timestamp
integer
getDateTimeTS
()
Gets the event's description
string
getDescription
()
Gets the event's due date and time
int
getDue
()
Gets the task due date
string
getDueDate
()
Gets the task's due date/time as a Unix timestamp
integer
getDueDateTimeTS
()
Gets the task due time
string
getDueTime
()
Gets the event's duration
int
getDuration
()
Gets the event's end date
string
getEndDate
()
Gets the event's end datetime
string
getEndDateTime
()
Gets the event's end datetime as UNIX timestamp
string
getEndDateTimeTS
()
Gets the event's end time
string
getEndTime
()
Gets the event's extension ID
mixed
getExtForID
()
Gets the event's ID
int
getID
()
Gets the event's location
string
getLocation
()
Gets the event's owner
string
getLogin
()
Gets the event's modified date
string
getModDate
()
Gets the event's modified time
string
getModTime
()
Gets the event's name
string
getName
()
Gets the event's owner
string
getOwner
()
Gets the task's percent complete
int
getPercent
()
Gets the event's priority
int
getPriority
()
Gets the event's status
string
getStatus
()
Gets the event's time
string
getTime
()
Gets the event's url
string
getUrl
()
Determine if event is All Day
bool
isAllDay
()
Determine if event is Timed
bool
isTimed
()
Determine if event is Untimed
bool
isUntimed
()
Set clone
void
setClone
( $date)
Set cal_date
void
setDate
( $date)
Set cal_duration
void
setDuration
( $duration)
void
setExtForID
( $forID)
Set cal_name
void
setName
( $name)
Set cal_time
void
setTime
( $time)