* from a __get() property.
*/
public $exceptions = array();
- public $attendees;
+ public $attendees = array();
public $categories;
/**
*/
public function addAttendee($attendee)
{
- if (!isset($this->_properties['attendees']) || !is_array($this->_properties['attendees'])) {
- $this->_properties['attendees'] = array();
- }
-
/* Both email and name are REQUIRED if setting an attendee */
- $this->_properties['attendees'][] = $attendee;
+ $this->attendees[] = $attendee;
}
/**
*/
public function getAttendees()
{
- return $this->_getAttribute('attendees', array());
+ return $this->attendees;
}
/**