24 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
50 $this->delete_enabled =
true;
51 $this->cut_enabled =
true;
52 $this->copy_enabled =
true;
53 $this->subscribe_enabled =
true;
54 $this->link_enabled =
true;
55 $this->payment_enabled =
true;
56 $this->info_screen_enabled =
true;
58 $this->gui_class_name =
"ilobjfilegui";
61 include_once(
'./Modules/File/classes/class.ilObjFileAccess.php');
74 function initItem($a_ref_id, $a_obj_id, $a_title =
"", $a_description =
"")
89 if(IS_PAYMENT_ENABLED)
91 include_once
'Services/Payment/classes/class.ilPaymentObject.php';
103 require_once(
'class.ilObjFileAccess.php');
131 include_once(
'class.ilObjFileAccess.php');
146 return preg_replace(
'/\\.[a-z0-9]+\\z/i',
'', $this->title);
161 global
$lng, $ilUser;
168 include_once(
"./Modules/File/classes/class.ilObjFileAccess.php");
172 if (! preg_match(
'/^\\.|\\.[a-zA-Z0-9]+$/', $this->title))
174 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"filename_interoperability"),
175 "value" => $lng->txt(
"filename_extension_missing"),
176 'propertyNameVisible' =>
false);
180 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"type"),
182 'propertyNameVisible' => false
186 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"size"),
188 'propertyNameVisible' =>
false);
189 $version = $fileData[
'version'];
192 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"version"),
193 "value" => $version);
195 $props[] = array(
"alert" =>
false,
"property" => $lng->txt(
"last_update"),
197 'propertyNameVisible' =>
false);