summaryrefslogtreecommitdiffstats
path: root/examples/class/object.class.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-05-13 20:24:54 -0400
committerMalf Furious <m@lfurio.us>2017-05-13 20:24:54 -0400
commit004bd1a8fda8e31b7b64602c0219537966379cb5 (patch)
treeef85ccd83006146aef73c7bf416bd757bf6aca3e /examples/class/object.class.php
parentff5c3c02c6e972d3a9a966cda009c60045a23c7f (diff)
downloadscrott-004bd1a8fda8e31b7b64602c0219537966379cb5.tar.gz
scrott-004bd1a8fda8e31b7b64602c0219537966379cb5.zip
Rm old content
Diffstat (limited to 'examples/class/object.class.php')
-rw-r--r--examples/class/object.class.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/examples/class/object.class.php b/examples/class/object.class.php
deleted file mode 100644
index 6c036ed..0000000
--- a/examples/class/object.class.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-abstract class Object extends Framework
-{
- /*
- * Get URL to this object
- */
- function getURL()
- {
- return $this->ar() . "/" . $this->guid;
- }
-
- /*
- * Get object's head image
- */
- function getHeadImage()
- {
- return $this->ar() . "/file.php?d=img/heads&f=" . $this->guid;
- }
-
- /*
- * Remove this object's head image
- */
- function rmHeadImage()
- {
- if (!is_file("assets/img/heads/" . $this->guid))
- return true;
-
- return unlink("assets/img/heads/" . $this->guid);
- }
-}
-
-?>