ILIAS
Release_4_0_x_branch Revision 61816
|
Stores selection of hidden calendars for a specific user. More...
Public Member Functions | |
filterHidden ($categories, $category_info) | |
Filter hidden categories (and hidden subitem categories) from category array. | |
isHidden ($a_cat_id) | |
Check if category is hidden. | |
isAppointmentVisible ($a_cal_id) | |
check whether an appoinment is visible or not | |
getHidden () | |
get hidden categories | |
hideSelected ($a_hidden) | |
hide selected | |
save () | |
save hidden selection | |
delete ($a_cat_id=null) | |
delete |
Static Public Member Functions | |
static | _getInstanceByUserId ($a_user_id) |
get instance by user id | |
static | _deleteCategories ($a_cat_id) |
delete by category | |
static | _deleteUser ($a_user_id) |
Delete by user. |
Protected Member Functions | |
read () | |
read user selection |
Protected Attributes | |
$user_id | |
$hidden = array() | |
$db |
Static Protected Attributes | |
static | $instances = array() |
Private Member Functions | |
__construct ($a_user_id) | |
Singleton constructor. |
Stores selection of hidden calendars for a specific user.
Definition at line 32 of file class.ilCalendarHidden.php.
|
private |
|
static |
delete by category
public
int | category id |
Definition at line 80 of file class.ilCalendarHidden.php.
References $ilDB, $query, and $res.
Referenced by ilCalendarCategory\delete().
|
static |
Delete by user.
public
int | user_id |
Definition at line 97 of file class.ilCalendarHidden.php.
|
static |
get instance by user id
public
int | user id |
Definition at line 64 of file class.ilCalendarHidden.php.
Referenced by ilCalendarSchedule\__construct(), ilCalendarCategoryGUI\getHTML(), ilCalendarCategoryTableGUI\parse(), and ilCalendarCategoryGUI\saveSelection().
ilCalendarHidden::delete | ( | $a_cat_id = null | ) |
delete
public
int | cat id (if empty all categories are deleted) |
Definition at line 211 of file class.ilCalendarHidden.php.
References $ilDB, $query, and $res.
ilCalendarHidden::filterHidden | ( | $categories, | |
$category_info | |||
) |
Filter hidden categories (and hidden subitem categories) from category array.
object | $categories | |
object | $category_info |
Definition at line 112 of file class.ilCalendarHidden.php.
References $hidden, and isHidden().
ilCalendarHidden::getHidden | ( | ) |
get hidden categories
public
Definition at line 161 of file class.ilCalendarHidden.php.
ilCalendarHidden::hideSelected | ( | $a_hidden | ) |
hide selected
public
array | array of hidden categories |
Definition at line 175 of file class.ilCalendarHidden.php.
ilCalendarHidden::isAppointmentVisible | ( | $a_cal_id | ) |
check whether an appoinment is visible or not
public
@return |
Definition at line 141 of file class.ilCalendarHidden.php.
References ilCalendarCategoryAssignments\_lookupCategories().
ilCalendarHidden::isHidden | ( | $a_cat_id | ) |
Check if category is hidden.
object | $a_cat_id |
Definition at line 129 of file class.ilCalendarHidden.php.
Referenced by filterHidden().
|
protected |
read user selection
protected
Definition at line 236 of file class.ilCalendarHidden.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct().
ilCalendarHidden::save | ( | ) |
|
protected |
Definition at line 39 of file class.ilCalendarHidden.php.
|
protected |
Definition at line 37 of file class.ilCalendarHidden.php.
Referenced by filterHidden(), and save().
|
staticprotected |
Definition at line 34 of file class.ilCalendarHidden.php.
|
protected |
Definition at line 36 of file class.ilCalendarHidden.php.