|
Stud.IP
2.3 Revision 48548
|


Static Public Member Functions | |
| static | find ($id) |
| static | findBySql ($where) |
| static | findByCourse ($seminar_id) |
| static | findByDate ($termin_id) |
| static | findByCycle ($metadate_id) |
| static | existsByCourse ($seminar_id, $is_open=false) |
| static | existsByDate ($termin_id, $is_open=false) |
| static | existsByCycle ($metadate_id, $is_open=false) |
| static | existsForSQL ($where) |
Static Public Member Functions inherited from SimpleORMap | |
| static | expireTableScheme () |
| static | find ($class, $id) |
| static | findBySQL ($class, $where) |
| static | deleteBySQL ($class, $where) |
| static | toObject ($class, $id_or_object) |
Data Fields | |
| $last_search_result_count | |
Additional Inherited Members | |
Protected Member Functions inherited from SimpleORMap | |
| getTableScheme () | |
| initializeContent () | |
Static Protected Member Functions inherited from SimpleORMap | |
| static | TableScheme ($db_table) |
Protected Attributes inherited from SimpleORMap | |
| $content = array() | |
| $content_db = array() | |
| $is_new = true | |
| $db_table = '' | |
| $db_fields = null | |
| $pk = null | |
| $default_values = array() | |
Static Protected Attributes inherited from SimpleORMap | |
| static | $schemes |
RoomRequest, class for room-requests and room-property-requests
| __construct | ( | $id = null | ) |
| string | $id | primary key of table |
Reimplemented from SimpleORMap.
| checkOpen | ( | $also_change = FALSE | ) |

| copy | ( | ) |

| delete | ( | ) |
delete entry from database the object is cleared and turned to new state
Reimplemented from SimpleORMap.


|
static |


|
static |


|
static |


|
static |


|
static |
returns new instance for given key when found in db, else null
| string | $id |

|
static |
|
static |
|
static |

|
static |
returns array of instances of RommRequest filtered by given sql where-clause
| string | where: clause to use on the right side of WHERE |
| getAvailableProperties | ( | ) |


| getCategoryId | ( | ) |
| getClosed | ( | ) |

| getComment | ( | ) |

| getInfo | ( | ) |

| getMetadateId | ( | ) |
| getProperties | ( | ) |

| getPropertyState | ( | $property_id | ) |

| getReplyComment | ( | ) |

| getResourceId | ( | ) |

| getSeats | ( | ) |

| getSeminarId | ( | ) |
| getSettedPropertiesCount | ( | ) |

| getStatus | ( | ) |

| getStatusExplained | ( | ) |


| getTerminId | ( | ) |
| getType | ( | ) |
| getTypeExplained | ( | ) |

| getUserId | ( | ) |
| getValue | ( | $field | ) |
returns value of a column
| string | $field |
Reimplemented from SimpleORMap.


| restore | ( | ) |
restore entry from database
Reimplemented from SimpleORMap.

| searchRooms | ( | $search_exp, | |
$properties = FALSE, |
|||
$limit_lower = 0, |
|||
$limit_upper = 0, |
|||
$only_rooms = TRUE, |
|||
$permitted_resources = FALSE |
|||
| ) |


| searchRoomsToRequest | ( | $search_exp, | |
$properties = false |
|||
| ) |

| setCategoryId | ( | $value | ) |
| setClosed | ( | $value | ) |
this function changes the state of the room-request
possible states are: 0 - room-request is open 1 - room-request has been edited, but no confirmation has been sent 2 - room-request has been edited and a confirmation has been sent 3 - room-request has been declined
| integer | $value | one of the states |

| setComment | ( | $value | ) |
| setDefaultSeats | ( | $value | ) |
| setMetadateId | ( | $value | ) |
| setPropertyState | ( | $property_id, | |
| $value | |||
| ) |
| setReplyComment | ( | $value | ) |
| setResourceId | ( | $value | ) |
| setSeminarId | ( | $value | ) |
| setTerminId | ( | $value | ) |
| setUserId | ( | $value | ) |
| setValue | ( | $field, | |
| $value | |||
| ) |
sets value of a column
| string | $field | |
| string | $value |
Reimplemented from SimpleORMap.

| store | ( | ) |
store entry in database if data is actually changed triggerChdate() is called
Reimplemented from SimpleORMap.


| toArray | ( | ) |
returns data of table row as assoc array
Reimplemented from SimpleORMap.

| $last_search_result_count |