Base application
[infodrom.org/touren.infodrom.org] / core / storage.class.php
diff --git a/core/storage.class.php b/core/storage.class.php
new file mode 100644 (file)
index 0000000..1bdc8e4
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+
+class Storage extends stdClass {
+  public function __construct($attributes=false)
+  {
+    if ($attributes !== false && is_array($attributes))
+      foreach ($attributes as $k => $v)
+       $this->$k = $v;
+  }
+}