Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
StudipAdmissionGroup Class Reference
Inheritance diagram for StudipAdmissionGroup:
Inheritance graph
Collaboration diagram for StudipAdmissionGroup:
Collaboration graph

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

Detailed Description

StudipAdmissionGroup.class.php

Author
André Noack <noack-quest>, Suchi & Berg GmbH info@.nosp@m.data.nosp@m.-ques.nosp@m.t.de public

Constructor & Destructor Documentation

__construct (   $id = null)
Parameters
string$idprimary key of table

Reimplemented from SimpleORMap.

Member Function Documentation

addMember (   $seminar_id)

Here is the call graph for this function:

checkUserSubscribedtoGroup (   $user_id,
  $waitlist = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

checkUserSubscribedtoGroupWaitingList (   $user_id)

Here is the call graph for this function:

delete ( )

delete entry from database the object is cleared and turned to new state

Returns
boolean

Reimplemented from SimpleORMap.

Here is the call graph for this function:

static deleteBySql (   $where)
static
deleteMember (   $seminar_id)

Here is the call graph for this function:

Here is the caller graph for this function:

static find (   $id)
static
static findBySql (   $where)
static
static GetAdmissionGroupBySeminarId (   $seminar_id)
static

Here is the call graph for this function:

Here is the caller graph for this function:

getMemberIds ( )

Here is the caller graph for this function:

getMemberValues (   $field)

Here is the call graph for this function:

Here is the caller graph for this function:

getNumMembers ( )

Here is the call graph for this function:

getUniqueMemberValue (   $field,
  $values = null 
)

Here is the call graph for this function:

getValue (   $field)

returns value of a column

Parameters
string$field
Returns
null|string

Reimplemented from SimpleORMap.

Here is the call graph for this function:

isMember (   $seminar_id)

Here is the caller graph for this function:

restore ( )

restore entry from database

Returns
boolean

Reimplemented from SimpleORMap.

Here is the call graph for this function:

restoreMembers ( )

Here is the call graph for this function:

Here is the caller graph for this function:

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

Parameters
array$dataassoc array
boolean$reset
Returns
number of columns changed

Reimplemented from SimpleORMap.

Here is the call graph for this function:

setMinimumContingent ( )

Here is the call graph for this function:

setUniqueMemberValue (   $field,
  $value 
)

Here is the call graph for this function:

store ( )

store entry in database if data is actually changed triggerChdate() is called

Returns
number|boolean

Reimplemented from SimpleORMap.

Here is the call graph for this function:

storeMembers ( )

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

$deleted_members = array()
$members = array()

The documentation for this class was generated from the following file: