ILIAS
eassessment Revision 61809
|
Booking category. More...
Public Member Functions | |
__construct ($a_id=NULL) | |
Constructor. | |
getId () | |
Get id. | |
setTitle ($a_title) | |
Set title. | |
getTitle () | |
Get title. | |
setPoolId ($a_pool_id) | |
Set booking pool id (aka parent obj ref id) | |
getPoolId () | |
Get booking pool id. | |
setScheduleId ($a_schedule_id) | |
Set booking schedule id. | |
getScheduleId () | |
Get booking schedule id. | |
save () | |
Create new entry in db. | |
update () | |
Update entry in db. | |
delete () | |
Delete single entry. |
Static Public Member Functions | |
static | getList ($a_pool_id) |
Get list of booking types for given pool. |
Protected Member Functions | |
read () | |
Get dataset from db. |
Protected Attributes | |
$id | |
$title | |
$pool_id | |
$schedule_id |
ilBookingType::__construct | ( | $a_id = NULL | ) |
Constructor.
if id is given will read dataset from db
int | $a_id |
Definition at line 26 of file class.ilBookingType.php.
References read().
ilBookingType::delete | ( | ) |
Delete single entry.
Definition at line 186 of file class.ilBookingType.php.
References $ilDB.
ilBookingType::getId | ( | ) |
|
static |
Get list of booking types for given pool.
int | $a_pool_id |
Definition at line 163 of file class.ilBookingType.php.
References $ilDB, $res, and $row.
Referenced by ilBookingTypesTableGUI\getItems(), and ilBookingReservationsTableGUI\initFilter().
ilBookingType::getPoolId | ( | ) |
Get booking pool id.
Definition at line 73 of file class.ilBookingType.php.
References $pool_id.
Referenced by save().
ilBookingType::getScheduleId | ( | ) |
Get booking schedule id.
Definition at line 91 of file class.ilBookingType.php.
References $schedule_id.
Referenced by save(), and update().
ilBookingType::getTitle | ( | ) |
Get title.
Definition at line 55 of file class.ilBookingType.php.
References $title.
Referenced by save().
|
protected |
Get dataset from db.
Definition at line 99 of file class.ilBookingType.php.
References $ilDB, $row, setPoolId(), setScheduleId(), and setTitle().
Referenced by __construct().
ilBookingType::save | ( | ) |
Create new entry in db.
Definition at line 119 of file class.ilBookingType.php.
References $ilDB, getPoolId(), getScheduleId(), and getTitle().
ilBookingType::setPoolId | ( | $a_pool_id | ) |
Set booking pool id (aka parent obj ref id)
int | $a_type_id |
Definition at line 64 of file class.ilBookingType.php.
Referenced by read().
ilBookingType::setScheduleId | ( | $a_schedule_id | ) |
Set booking schedule id.
int | $a_schedule_id |
Definition at line 82 of file class.ilBookingType.php.
Referenced by read().
ilBookingType::setTitle | ( | $a_title | ) |
Set title.
string | $a_title |
Definition at line 46 of file class.ilBookingType.php.
Referenced by read(), and ilBookingTypeGUI\save().
ilBookingType::update | ( | ) |
Update entry in db.
Definition at line 134 of file class.ilBookingType.php.
References $ilDB, getScheduleId(), and ilBookingObject\updateSchedule().
|
protected |
Definition at line 14 of file class.ilBookingType.php.
Referenced by getId().
|
protected |
Definition at line 16 of file class.ilBookingType.php.
Referenced by getPoolId().
|
protected |
Definition at line 17 of file class.ilBookingType.php.
Referenced by getScheduleId().
|
protected |
Definition at line 15 of file class.ilBookingType.php.
Referenced by getTitle().