Inheritance diagram for ilObjRemoteCourseListGUI:
Collaboration diagram for ilObjRemoteCourseListGUI:Public Member Functions | |
| __construct () | |
| Constructor. | |
| init () | |
| init | |
| initItem ($a_ref_id, $a_obj_id, $a_title="", $a_description="") | |
| inititialize new item | |
| getProperties () | |
| get properties (offline) | |
Definition at line 34 of file class.ilObjRemoteCourseListGUI.php.
| ilObjRemoteCourseListGUI::__construct | ( | ) |
Constructor.
public
Definition at line 42 of file class.ilObjRemoteCourseListGUI.php.
{
parent::__construct();
}
| ilObjRemoteCourseListGUI::getProperties | ( | ) |
get properties (offline)
public
Definition at line 97 of file class.ilObjRemoteCourseListGUI.php.
References $lng, and ilObjRemoteCourse::_lookupOnline().
{
global $lng;
include_once('Modules/RemoteCourse/classes/class.ilObjRemoteCourse.php');
if(!ilObjRemoteCourse::_lookupOnline($this->obj_id))
{
$props[] = array("alert" => true, "property" => $lng->txt("status"),
"value" => $lng->txt("offline"));
}
return $props ? $props : array();
}
Here is the call graph for this function:| ilObjRemoteCourseListGUI::init | ( | ) |
init
public
Reimplemented from ilObjectListGUI.
Definition at line 52 of file class.ilObjRemoteCourseListGUI.php.
References ilObjRemoteCourseAccess::_getCommands(), and ilAdvancedMDSubstitution::_getInstanceByObjectType().
{
$this->static_link_enabled = true;
$this->delete_enabled = true;
$this->cut_enabled = true;
$this->subscribe_enabled = true;
$this->link_enabled = false;
$this->info_screen_enabled = true;
$this->type = 'rcrs';
$this->gui_class_name = 'ilremotecoursegui';
include_once('Services/AdvancedMetaData/classes/class.ilAdvancedMDSubstitution.php');
$this->substitutions = ilAdvancedMDSubstitution::_getInstanceByObjectType($this->type);
if($this->substitutions->isActive())
{
$this->substitutions_enabled = true;
}
// general commands array
include_once('Modules/RemoteCourse/classes/class.ilObjRemoteCourseAccess.php');
$this->commands = ilObjRemoteCourseAccess::_getCommands();
}
Here is the call graph for this function:| ilObjRemoteCourseListGUI::initItem | ( | $ | a_ref_id, | |
| $ | a_obj_id, | |||
| $ | a_title = "", |
|||
| $ | a_description = "" | |||
| ) |
inititialize new item
| int | $a_ref_id reference id | |
| int | $a_obj_id object id | |
| string | $a_title title | |
| string | $a_description description |
Reimplemented from ilObjectListGUI.
Definition at line 85 of file class.ilObjRemoteCourseListGUI.php.
{
parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
}
1.7.1