Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
__construct ($id=null) | |
restore () | |
restoreMembers () | |
store () | |
storeMembers () | |
getMemberIds () | |
getNumMembers () | |
isMember ($seminar_id) | |
addMember ($seminar_id) | |
deleteMember ($seminar_id) | |
setData ($data, $reset=false) | |
delete () | |
getValue ($field) | |
getMemberValues ($field) | |
setUniqueMemberValue ($field, $value) | |
getUniqueMemberValue ($field, $values=null) | |
setMinimumContingent () | |
checkUserSubscribedtoGroup ($user_id, $waitlist=false) | |
checkUserSubscribedtoGroupWaitingList ($user_id) | |
Public Member Functions inherited from SimpleORMap | |
setId ($id) | |
getId () | |
getNewId () | |
getData () | |
toArray () | |
setValue ($field, $value) | |
__get ($field) | |
__set ($field, $value) | |
__isset ($field) | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
getIterator () | |
count () | |
isField ($field) | |
haveData () | |
isNew () | |
setNew ($is_new) | |
getWhereQuery () | |
triggerChdate () |
Static Public Member Functions | |
static | GetAdmissionGroupBySeminarId ($seminar_id) |
static | find ($id) |
static | findBySql ($where) |
static | deleteBySql ($where) |
Static Public Member Functions inherited from SimpleORMap | |
static | expireTableScheme () |
static | find ($class, $id) |
static | findBySQL ($class, $where) |
static | deleteBySQL ($class, $where) |
Data Fields | |
$members = array() | |
$deleted_members = array() |
Additional Inherited Members | |
Protected Member Functions inherited from SimpleORMap | |
getTableScheme () | |
Static Protected Member Functions inherited from SimpleORMap | |
static | TableScheme ($db_table) |
Protected Attributes inherited from SimpleORMap | |
$content = array() | |
$is_new = true | |
$db_table = '' | |
$db_fields = null | |
$pk = null | |
Static Protected Attributes inherited from SimpleORMap | |
static | $schemes |
__construct | ( | $id = null | ) |
string | $id | primary key of table |
Reimplemented from SimpleORMap.
addMember | ( | $seminar_id | ) |
checkUserSubscribedtoGroup | ( | $user_id, | |
$waitlist = false |
|||
) |
checkUserSubscribedtoGroupWaitingList | ( | $user_id | ) |
delete | ( | ) |
delete entry from database the object is cleared and turned to new state
Reimplemented from SimpleORMap.
|
static |
deleteMember | ( | $seminar_id | ) |
|
static |
|
static |
|
static |
getMemberIds | ( | ) |
getMemberValues | ( | $field | ) |
getNumMembers | ( | ) |
getUniqueMemberValue | ( | $field, | |
$values = null |
|||
) |
getValue | ( | $field | ) |
returns value of a column
string | $field |
Reimplemented from SimpleORMap.
isMember | ( | $seminar_id | ) |
restore | ( | ) |
restore entry from database
Reimplemented from SimpleORMap.
restoreMembers | ( | ) |
setData | ( | $data, | |
$reset = false |
|||
) |
set multiple column values if second param is set, existing data in object will be discarded, else new data overrides old data
array | $data | assoc array |
boolean | $reset |
Reimplemented from SimpleORMap.
setMinimumContingent | ( | ) |
setUniqueMemberValue | ( | $field, | |
$value | |||
) |
store | ( | ) |
store entry in database if data is actually changed triggerChdate() is called
Reimplemented from SimpleORMap.
storeMembers | ( | ) |
$deleted_members = array() |
$members = array() |