ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilObjRemoteFileGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once('Services/WebServices/ECS/classes/class.ilRemoteObjectBaseGUI.php');
5 
19 {
20  public function __construct($a_id = 0, $a_id_type = self::REPOSITORY_NODE_ID, $a_parent_node_id = 0)
21  {
22  parent::__construct($a_id, $a_id_type, $a_parent_node_id);
23 
24  $this->lng->loadLanguageModule('rfil');
25  $this->lng->loadLanguageModule('file');
26  }
27 
28  function getType()
29  {
30  return 'rfil';
31  }
32 
33  protected function addCustomInfoFields(ilInfoScreenGUI $a_info)
34  {
35  $a_info->addProperty($this->lng->txt('version'),$this->object->getVersion());
36  $a_info->addProperty($this->lng->txt('rfil_version_tstamp'),
37  ilDatePresentation::formatDate(new ilDateTime($this->object->getVersionDateTime(), IL_CAL_UNIX)));
38  }
39 }
40 
41 ?>