ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($a_user_id) | |
Constructor. More... | |
getColorByAppointment ($a_cal_id) | |
get color by appointment More... | |
Static Public Member Functions | |
static | _getRandomColorByType ($a_type) |
get random color entry for type More... | |
static | dumpColors () |
public More... | |
static | _getColorsByType ($a_type) |
get selectable colors More... | |
Protected Attributes | |
$db | |
$user_id | |
$appointment_colors | |
Static Protected Attributes | |
static | $colors |
Private Member Functions | |
read () | |
read More... | |
Definition at line 34 of file class.ilCalendarAppointmentColors.php.
ilCalendarAppointmentColors::__construct | ( | $a_user_id | ) |
Constructor.
public
int | user_id |
Definition at line 90 of file class.ilCalendarAppointmentColors.php.
References $DIC, ilCalendarCategories\_getInstance(), and read().
|
static |
get selectable colors
public
Definition at line 208 of file class.ilCalendarAppointmentColors.php.
References $a_type.
Referenced by ilObjBookingPoolGUI\renderSlots().
|
static |
get random color entry for type
public
Definition at line 176 of file class.ilCalendarAppointmentColors.php.
References $a_type.
Referenced by ilCalendarAppEventListener\createCategory().
|
static |
ilCalendarAppointmentColors::getColorByAppointment | ( | $a_cal_id | ) |
get color by appointment
public
int | calendar appointment id |
Definition at line 110 of file class.ilCalendarAppointmentColors.php.
|
private |
read
private
Definition at line 139 of file class.ilCalendarAppointmentColors.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
|
protected |
Definition at line 81 of file class.ilCalendarAppointmentColors.php.
|
staticprotected |
Definition at line 36 of file class.ilCalendarAppointmentColors.php.
|
protected |
Definition at line 79 of file class.ilCalendarAppointmentColors.php.
|
protected |
Definition at line 80 of file class.ilCalendarAppointmentColors.php.