Stud.IP
2.0 Revision 48548
|
Namespaces | |
namespace | studip_core |
Functions | |
temporaly_accepted ($sem_name, $user_id, $sem_id, $ask="TRUE", $studiengang_id, $url) | |
seminar_preliminary ($seminar_id, $user_id=NULL) |
Variables | |
$id = Request::option('id') | |
$db = new DB_Seminar | |
$db2 = new DB_Seminar | |
$db3 = new DB_Seminar | |
$db4 = new DB_Seminar | |
$db5 = new DB_Seminar | |
$db6 = new DB_Seminar | |
if(!isset($ask)) | $temp_url = _("Veranstaltungsfreischaltung")htmlReady(getHeaderLine($id)) $sess->self_url() |
if($perm->have_perm("admin")) | $same_domain = true |
$user_domains = UserDomain::getUserDomainsForUser($user->id) | |
if(count($user_domains) > 0) if(!$same_domain &&!SeminarCategories::GetByTypeId($current_seminar-> status)->studygroup_mode) if($current_seminar-> admission_type==3) if(LockRules::Check($id, 'participants')) | $group = $current_seminar->getDefaultGroup() |
hlen Sie einen Studiengang zur Anmeldung f & | uuml |
r diese Veranstaltung | aus |
seminar_preliminary | ( | $seminar_id, | |
$user_id = NULL |
|||
) |
This function checks, if a given seminar has the admission: temporarily accepted
string | seminar_id |
string | user_id |
temporaly_accepted | ( | $sem_name, | |
$user_id, | |||
$sem_id, | |||
$ask = "TRUE" , |
|||
$studiengang_id, | |||
$url | |||
) |
$db = new DB_Seminar |
$db2 = new DB_Seminar |
$db3 = new DB_Seminar |
$db4 = new DB_Seminar |
$db5 = new DB_Seminar |
$db6 = new DB_Seminar |
if (count($user_domains) > 0) if (!$same_domain &&!SeminarCategories::GetByTypeId($current_seminar->status)->studygroup_mode) if ($current_seminar->admission_type==3) if (LockRules::Check($id, 'participants')) $group = $current_seminar->getDefaultGroup() |
$id = Request::option('id') |
if ($perm->have_perm("admin")) $same_domain = true |
if (!isset($ask)) $temp_url = _("Veranstaltungsfreischaltung")htmlReady(getHeaderLine($id)) $sess->self_url() |
$user_domains = UserDomain::getUserDomainsForUser($user->id) |
r diese Veranstaltung aus |
hlen Sie einen Studiengang zur Anmeldung f& uuml |