]> wagnertech.de Git - projects.git/blobdiff - verleihnix/Verleihnix/impl/data/build/classes/propel/Medium.php
verleihnix komplett eingescheckt
[projects.git] / verleihnix / Verleihnix / impl / data / build / classes / propel / Medium.php
diff --git a/verleihnix/Verleihnix/impl/data/build/classes/propel/Medium.php b/verleihnix/Verleihnix/impl/data/build/classes/propel/Medium.php
new file mode 100644 (file)
index 0000000..5cb7204
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+
+
+/**
+ * Skeleton subclass for representing a row from the 'medium' table.
+ *
+ *
+ *
+ * You should add additional methods to this class to meet the
+ * application requirements.  This class will only be generated as
+ * long as it does not already exist in the output directory.
+ *
+ * @package    propel.generator.propel
+ */
+class Medium extends BaseMedium
+{
+    public function save(PropelPDO $con = null)
+    {
+        if ($this->isNew() || $this->mod >= 999999) {
+            $this->setMod(0);
+        } else {
+            $this->setMod($this->mod + 1);
+        }
+        return parent::save($con);
+    }
+    
+}