本文整理匯總了PHP中CEvent::getAssigneeList方法的典型用法代碼示例。如果您正苦於以下問題:PHP CEvent::getAssigneeList方法的具體用法?PHP CEvent::getAssigneeList怎麽用?PHP CEvent::getAssigneeList使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CEvent
的用法示例。
在下文中一共展示了CEvent::getAssigneeList方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
$AppUI->redirect();
}
}
$obj->event_project = $event_project ? $event_project : $obj->event_project;
// load the event types
$types = w2PgetSysVal('EventType');
// Load the users
$perms =& $AppUI->acl();
$users = $perms->getPermittedUsers('calendar');
// Load the assignees
$assigned = array();
if ($is_clash) {
$assignee_list = $_SESSION['add_event_attendees'];
if (isset($assignee_list) && $assignee_list) {
$event = new CEvent();
$assigned = $event->getAssigneeList($assignee_list);
}
// Now that we have loaded the possible replacement event, remove the stored
// details, NOTE: This could cause using a back button to make things break,
// but that is the least of our problems.
unset($_SESSION['add_event_post']);
unset($_SESSION['add_event_attendees']);
unset($_SESSION['add_event_mail']);
unset($_SESSION['add_event_clash']);
unset($_SESSION['event_is_clash']);
} else {
if ($event_id == 0) {
$assigned[$AppUI->user_id] = $AppUI->user_display_name;
} else {
$assigned = $obj->getAssigned();
}