13include_once
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php";
14include_once
"./Modules/Test/classes/inc.AssessmentConstants.php";
44 $this->target_class = $a_target_class;
45 parent::__construct($a_target);
47 $this->root_id = $this->tree->readRootId();
48 $this->order_column =
"title";
66 public function expandPathByRefId(
$ref_id)
79 foreach ((array)
$path as $node_id) {
80 if (!in_array($node_id,
$_SESSION[$this->expand_variable])) {
90 $this->selectable_type =
$a_type;
94 $this->ref_id = $a_ref_id;
100 if (
$a_type == $this->selectable_type) {
101 $this->ctrl->setParameterByClass($this->target_class,
'source_id', $a_node_id);
102 return $this->ctrl->getLinkTargetByClass($this->target_class,
'linkChilds');
104 $this->ctrl->setParameterByClass($this->target_class,
"ref_id", $this->ref_id);
105 return $this->ctrl->getLinkTargetByClass($this->target_class,
'addSolutionHint');
124 if ($a_ref_id == 0) {
An exception for terminatinating execution or to throw for unit testing.
Class ilExplorer class for explorer view in admin frame.
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter @access public
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
setFiltered($a_bool)
active/deactivate the filter @access public
showChilds($a_ref_id)
determines wether the childs of an object should be shown or not note: this standard implementation a...
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)
get frame target (may be overwritten by derived classes)
isClickable($a_type, $a_ref_id=0)
check if links for certain object type are activated
setSelectableType($a_type)
__construct($a_target, $a_target_class)
Constructor @access public.
buildLinkTarget($a_node_id, $a_type)
get link target (may be overwritten by derived classes)