aboutsummaryrefslogtreecommitdiff
path: root/mod/file/classes
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 14:10:57 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 14:10:57 +0000
commitfab3e3166b9e75c508fb2491eed24a541f23221c (patch)
tree0c623114a54ec750ac0b72f632ece8fb20cc1de4 /mod/file/classes
parentf73298eacabf0745598ddc24af0e5679bed6d6cc (diff)
downloadelgg-fab3e3166b9e75c508fb2491eed24a541f23221c.tar.gz
elgg-fab3e3166b9e75c508fb2491eed24a541f23221c.tar.bz2
moved the file class into a class file
git-svn-id: http://code.elgg.org/elgg/trunk@7742 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/classes')
-rw-r--r--mod/file/classes/FilePluginFile.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/file/classes/FilePluginFile.php b/mod/file/classes/FilePluginFile.php
new file mode 100644
index 000000000..7397bfa4b
--- /dev/null
+++ b/mod/file/classes/FilePluginFile.php
@@ -0,0 +1,16 @@
+<?php
+
+/**
+ * Override the ElggFile
+ */
+class FilePluginFile extends ElggFile {
+ protected function initializeAttributes() {
+ parent::initializeAttributes();
+
+ $this->attributes['subtype'] = "file";
+ }
+
+ public function __construct($guid = null) {
+ parent::__construct($guid);
+ }
+}