Class ilObjiLincCourseListGUI. More...
Inheritance diagram for ilObjiLincCourseListGUI:
Collaboration diagram for ilObjiLincCourseListGUI:Public Member Functions | |
| ilObjiLincCourseListGUI () | |
| constructor | |
| init () | |
| initialisation | |
| getCommandLink ($a_cmd) | |
| Get command link url. | |
| getProperties () | |
| Get item properties. | |
Class ilObjiLincCourseListGUI.
Definition at line 37 of file class.ilObjiLincCourseListGUI.php.
| ilObjiLincCourseListGUI::getCommandLink | ( | $ | a_cmd | ) |
Get command link url.
| int | $a_ref_id reference id | |
| string | $a_cmd command |
Reimplemented from ilObjectListGUI.
Definition at line 75 of file class.ilObjiLincCourseListGUI.php.
{
// separate method for this line
$cmd_link = "repository.php?ref_id=".$this->ref_id."&cmd=$a_cmd";
return $cmd_link;
}
| ilObjiLincCourseListGUI::getProperties | ( | ) |
Get item properties.
Definition at line 91 of file class.ilObjiLincCourseListGUI.php.
References $ilias, $lng, and ilObjiLincCourse::_isActivated().
{
global $lng, $ilias;
$props = array();
include_once("ilinc/classes/class.ilObjiLincCourse.php");
if (!ilObjiLincCourse::_isActivated($this->obj_id))
{
$props[] = array("alert" => true, "property" => $lng->txt("status"),
"value" => $lng->txt("offline"));
}
if (!$ilias->getSetting("ilinc_active"))
{
$props[] = array("alert" => false, "property" => $lng->txt("ilinc_remark"),
"value" => $lng->txt("ilinc_server_not_active"));
}
return $props;
}
Here is the call graph for this function:| ilObjiLincCourseListGUI::ilObjiLincCourseListGUI | ( | ) |
constructor
Definition at line 43 of file class.ilObjiLincCourseListGUI.php.
References ilObjectListGUI::ilObjectListGUI().
{
$this->ilObjectListGUI();
}
Here is the call graph for this function:| ilObjiLincCourseListGUI::init | ( | ) |
initialisation
Reimplemented from ilObjectListGUI.
Definition at line 51 of file class.ilObjiLincCourseListGUI.php.
References ilObjiLincCourseAccess::_getCommands().
{
$this->delete_enabled = true;
$this->cut_enabled = false;
$this->subscribe_enabled = true;
$this->link_enabled = false;
$this->payment_enabled = false;
$this->type = "icrs";
$this->gui_class_name = "ilobjilinccoursegui";
// general commands array
include_once('class.ilObjiLincCourseAccess.php');
$this->commands = ilObjiLincCourseAccess::_getCommands();
}
Here is the call graph for this function:
1.7.1