|
| | getResourceId () |
| |
| | getSeminarId () |
| |
| | getTerminId () |
| |
| | getMetadateId () |
| |
| | getUserId () |
| |
| | getCategoryId () |
| |
| | getComment () |
| |
| | getReplyComment () |
| |
| | getClosed () |
| |
| | getPropertyState ($property_id) |
| |
| | getProperties () |
| |
| | getAvailableProperties () |
| |
| | getSettedPropertiesCount () |
| |
| | getSeats () |
| |
| | setSeats ($num) |
| |
| | setResourceId ($value) |
| |
| | setUserId ($value) |
| |
| | setSeminarId ($value) |
| |
| | setCategoryId ($value) |
| |
| | setComment ($value) |
| |
| | setReplyComment ($value) |
| |
| | setClosed ($value) |
| |
| | setTerminId ($value) |
| |
| | setMetadateId ($value) |
| |
| | setPropertyState ($property_id, $value) |
| |
| | setDefaultSeats ($value) |
| |
| | searchRoomsToRequest ($search_exp, $properties=false) |
| |
| | searchRooms ($search_exp, $properties=FALSE, $limit_lower=0, $limit_upper=0, $only_rooms=TRUE, $permitted_resources=FALSE, $only_requestable=false) |
| |
| | cbInitProperties () |
| |
| | checkOpen ($also_change=FALSE) |
| |
| | copy () |
| |
| | store () |
| |
| | delete () |
| |
| | toArray () |
| |
| | getType () |
| |
| | getStatus () |
| |
| | getInfo () |
| |
| | getTypeExplained () |
| |
| | getStatusExplained () |
| |
| | getUserStatus ($user_id) |
| |
| | setUserStatus ($user_id, $status=true) |
| |
| | getAffectedDates () |
| |
| | checkOverlaps ($other_request) |
| |
| | getCourse () |
| |
| | __construct ($id=null) |
| |
| | __clone () |
| |
| | getRelationOptions ($relation) |
| |
| | getTableMetadata () |
| |
| | hasAutoIncrementColumn () |
| |
| | setId ($id) |
| |
| | getId () |
| |
| | getNewId () |
| |
| | toArray ($only_these_fields=null) |
| |
| | toRawArray ($only_these_fields=null) |
| |
| | toArrayRecursive ($only_these_fields=null) |
| |
| | getValue ($field) |
| |
| | getRelationValue ($relation, $field) |
| |
| | setValue ($field, $value) |
| |
| | __get ($field) |
| |
| | __set ($field, $value) |
| |
| | __isset ($field) |
| |
| | offsetExists ($offset) |
| |
| | offsetGet ($offset) |
| |
| | offsetSet ($offset, $value) |
| |
| | offsetUnset ($offset) |
| |
| | getIterator () |
| |
| | count () |
| |
| | isField ($field) |
| |
| | isAdditionalField ($field) |
| |
| | isAliasField ($field) |
| |
| | setData ($data, $reset=false) |
| |
| | haveData () |
| |
| | isNew () |
| |
| | isDeleted () |
| |
| | setNew ($is_new) |
| |
| | getWhereQuery () |
| |
| | restore () |
| |
| | store () |
| |
| | triggerChdate () |
| |
| | delete () |
| |
| | isDirty () |
| |
| | isFieldDirty ($field) |
| |
| | revertValue ($field) |
| |
| | getPristineValue ($field) |
| |
| | initRelation ($relation) |
| |
| | resetRelation ($relation) |
| |
|
| 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 | expireTableScheme () |
| |
| static | find ($id) |
| |
| static | exists ($id) |
| |
| static | countBySql ($sql=1, $params=array()) |
| |
| static | create ($data) |
| |
| static | build ($data, $is_new=true) |
| |
| static | buildExisting ($data) |
| |
| static | import ($data) |
| |
| static | findBySQL ($sql, $params=array()) |
| |
| static | findByObject (SimpleORMap $object) |
| |
| static | findOneBySQL ($where, $params=array()) |
| |
| static | findThru ($foreign_key_value, $options) |
| |
| static | findEachBySQL ($callable, $sql, $params=array()) |
| |
| static | findMany ($pks=array(), $order='', $order_params=array()) |
| |
| static | findEachMany ($callable, $pks=array(), $order='', $order_params=array()) |
| |
| static | findAndMapBySQL ($callable, $where, $params=array()) |
| |
| static | findAndMapMany ($callable, $pks=array(), $order='', $order_params=array()) |
| |
| static | deleteBySQL ($where, $params=array()) |
| |
| static | toObject ($id_or_object) |
| |
| static | __callStatic ($name, $arguments) |
| |
|
| | _getId ($field) |
| |
| | _setId ($field, $value) |
| |
| | _getAdditionalValueFromRelation ($field) |
| |
| | _setAdditionalValueFromRelation ($field, $value) |
| |
| | _getAdditionalValue ($field) |
| |
| | _setAdditionalValue ($field, $value) |
| |
| | parseRelationOptions ($type, $name, $options) |
| |
| | getTableScheme () |
| |
| | storeRelations ($only_these=null) |
| |
| | deleteRelations () |
| |
| | initializeContent () |
| |
| | applyCallbacks ($type) |
| |
| | registerCallback ($types, $cb) |
| |
| | unregisterCallback ($types, $cb) |
| |
| | cbAutoIncrementColumn ($type) |
| |
| | cbAutoKeyCreation () |
| |
| | cbNotificationMapper ($cb_type) |
| |
| | setSerializedValue ($field, $value) |
| |
| | $content = array() |
| |
| | $content_db = array() |
| |
| | $is_new = true |
| |
| | $is_deleted = false |
| |
| | $db_table = '' |
| |
| | $db_fields = null |
| |
| | $pk = null |
| |
| | $default_values = array() |
| |
| | $serialized_fields = array() |
| |
| | $alias_fields = array() |
| |
| | $additional_fields = array() |
| |
| | $relations = array() |
| |
| | $has_many = array() |
| |
| | $has_one = array() |
| |
| | $belongs_to = array() |
| |
| | $has_and_belongs_to_many = array() |
| |
| | $registered_callbacks |
| |
| | $known_slots = array() |
| |
| | $reserved_slots = array('value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id') |
| |
| | $notification_map = array() |
| |
| | $additional_data = array() |
| |
| static | $schemes = null |
| |
| static | $config = array() |
| |
◆ cbInitProperties()
◆ checkOpen()
| checkOpen |
( |
|
$also_change = FALSE | ) |
|
◆ checkOverlaps()
| checkOverlaps |
( |
|
$other_request | ) |
|
◆ configure()
| static configure |
( |
|
$config = array() | ) |
|
|
staticprotected |
set configuration data from subclass
- Parameters
-
| array | $config | configuration data |
- Returns
- void
Reimplemented from SimpleORMap.
◆ copy()
◆ delete()
delete entry from database the object is cleared, but is not(!) turned to new state
- Returns
- int number of deleted rows
Reimplemented from SimpleORMap.
◆ existsByCourse()
| static existsByCourse |
( |
|
$seminar_id, |
|
|
|
$is_open = false |
|
) |
| |
|
static |
◆ existsByCycle()
| static existsByCycle |
( |
|
$metadate_id, |
|
|
|
$is_open = false |
|
) |
| |
|
static |
◆ existsByDate()
| static existsByDate |
( |
|
$termin_id, |
|
|
|
$is_open = false |
|
) |
| |
|
static |
◆ existsForSQL()
| static existsForSQL |
( |
|
$where | ) |
|
|
static |
◆ findByCourse()
| static findByCourse |
( |
|
$seminar_id | ) |
|
|
static |
◆ findByCycle()
| static findByCycle |
( |
|
$metadate_id | ) |
|
|
static |
◆ findByDate()
| static findByDate |
( |
|
$termin_id | ) |
|
|
static |
◆ getAffectedDates()
◆ getAvailableProperties()
| getAvailableProperties |
( |
| ) |
|
◆ getCategoryId()
◆ getClosed()
◆ getComment()
◆ getCourse()
◆ getInfo()
◆ getMetadateId()
◆ getProperties()
◆ getPropertyState()
| getPropertyState |
( |
|
$property_id | ) |
|
◆ getReplyComment()
◆ getResourceId()
◆ getSeats()
◆ getSeminarId()
◆ getSettedPropertiesCount()
| getSettedPropertiesCount |
( |
| ) |
|
◆ getStatus()
◆ getStatusExplained()
◆ getTerminId()
◆ getType()
◆ getTypeExplained()
◆ getUserId()
◆ getUserStatus()
| getUserStatus |
( |
|
$user_id | ) |
|
◆ searchRooms()
| searchRooms |
( |
|
$search_exp, |
|
|
|
$properties = FALSE, |
|
|
|
$limit_lower = 0, |
|
|
|
$limit_upper = 0, |
|
|
|
$only_rooms = TRUE, |
|
|
|
$permitted_resources = FALSE, |
|
|
|
$only_requestable = false |
|
) |
| |
◆ searchRoomsToRequest()
| searchRoomsToRequest |
( |
|
$search_exp, |
|
|
|
$properties = false |
|
) |
| |
◆ setCategoryId()
◆ setClosed()
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
- Parameters
-
| integer | $value | one of the states |
◆ setComment()
◆ setDefaultSeats()
| setDefaultSeats |
( |
|
$value | ) |
|
◆ setMetadateId()
◆ setPropertyState()
| setPropertyState |
( |
|
$property_id, |
|
|
|
$value |
|
) |
| |
◆ setReplyComment()
| setReplyComment |
( |
|
$value | ) |
|
◆ setResourceId()
◆ setSeats()
◆ setSeminarId()
◆ setTerminId()
◆ setUserId()
◆ setUserStatus()
| setUserStatus |
( |
|
$user_id, |
|
|
|
$status = true |
|
) |
| |
◆ store()
store entry in database
- Exceptions
-
| UnexpectedValueException | if there are forbidden NULL values |
- Returns
- number|boolean
Reimplemented from SimpleORMap.
◆ toArray()
◆ $last_search_result_count
| $last_search_result_count |
The documentation for this class was generated from the following file: