Commit 0616cb7f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove files stuff from internal artefact plugin

parent d726be66
......@@ -395,76 +395,5 @@ class ArtefactTypeJabberusername extends ArtefactTypeProfileField {}
class ArtefactTypeOccupation extends ArtefactTypeProfileField {}
class ArtefactTypeIndustry extends ArtefactTypeProfileField {}
// TODO: these are to be MOVED to a new plugin 'file' (or 'files')
class ArtefactTypeFolder extends ArtefactType {
public function commit() {
$this->commit_basic();
}
public function delete() {
$this->delete_basic();
}
public function render($format, $options) {
}
public function get_icon() {
}
public static function get_render_list() {
}
public static function can_render_to($format) {
}
public static function collapse_config() {
return 'file';
}
}
class ArtefactTypeFile extends ArtefactType {
public function commit() {
$this->commit_basic();
}
public function delete() {
$this->delete_basic();
}
public function render($format, $options) {
}
public function get_icon() {
}
public static function get_render_list() {
}
public static function can_render_to($format) {
}
public static function has_config() {
return true;
}
public static function get_config_options() {
return array(); // @todo
}
}
class ArtefactTypeImage extends ArtefactTypeFile {
public static function collapse_config() {
return 'file';
}
}
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment