ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
TableGUI class for timings administration. More...
Public Member Functions | |
__construct ($a_ref_id, $a_usr_id) | |
Constructor. More... | |
getUserId () | |
get user id More... | |
getRefId () | |
Get ref_id. More... | |
isScheduled () | |
Check if an entry exists for user. More... | |
getStart () | |
Use to set start date. More... | |
getEnd () | |
Use to set date. More... | |
create () | |
Create new entry. More... | |
update () | |
Update type $ilDB. More... | |
delete () | |
Delete entry type $ilDB. More... | |
read () | |
Read from db. More... | |
Private Attributes | |
$ref_id = 0 | |
$usr_id = 0 | |
$start = null | |
$end = null | |
$is_scheduled = false | |
TableGUI class for timings administration.
Definition at line 12 of file class.ilTimingUser.php.
ilTimingUser::__construct | ( | $a_ref_id, | |
$a_usr_id | |||
) |
Constructor.
type | $a_ref_id | |
type | $a_usr_id |
Definition at line 26 of file class.ilTimingUser.php.
References IL_CAL_UNIX, and read().
ilTimingUser::create | ( | ) |
Create new entry.
Definition at line 84 of file class.ilTimingUser.php.
References $DIC, $ilDB, $query, getEnd(), getRefId(), getStart(), getUserId(), IL_CAL_UNIX, isScheduled(), and update().
Referenced by update().
ilTimingUser::delete | ( | ) |
Delete entry type $ilDB.
Definition at line 131 of file class.ilTimingUser.php.
References $DIC, $ilDB, $query, getRefId(), and getUserId().
ilTimingUser::getEnd | ( | ) |
Use to set date.
Definition at line 76 of file class.ilTimingUser.php.
References $end.
Referenced by create(), and update().
ilTimingUser::getRefId | ( | ) |
ilTimingUser::getStart | ( | ) |
Use to set start date.
Definition at line 67 of file class.ilTimingUser.php.
References $start.
Referenced by ilObjectActivation\addAdditionalSubItemInformation(), create(), and update().
ilTimingUser::getUserId | ( | ) |
ilTimingUser::isScheduled | ( | ) |
Check if an entry exists for user.
Definition at line 58 of file class.ilTimingUser.php.
References $is_scheduled.
Referenced by create(), read(), and update().
ilTimingUser::read | ( | ) |
Read from db.
Definition at line 150 of file class.ilTimingUser.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getRefId(), getUserId(), IL_CAL_UNIX, and isScheduled().
Referenced by __construct().
ilTimingUser::update | ( | ) |
Update type $ilDB.
Definition at line 109 of file class.ilTimingUser.php.
References $DIC, $ilDB, $query, create(), getEnd(), getRefId(), getStart(), getUserId(), IL_CAL_UNIX, and isScheduled().
Referenced by create().
|
private |
Definition at line 17 of file class.ilTimingUser.php.
Referenced by getEnd().
|
private |
Definition at line 19 of file class.ilTimingUser.php.
Referenced by isScheduled().
|
private |
Definition at line 14 of file class.ilTimingUser.php.
Referenced by getRefId().
|
private |
Definition at line 16 of file class.ilTimingUser.php.
Referenced by getStart().
|
private |
Definition at line 15 of file class.ilTimingUser.php.
Referenced by getUserId().