Summary Files Commits Branches @commit @diff @stats
path: root / src / models / DBModel.php
diff options
context:
space:
mode:
Commit83bb68e766bf12c5c48350bd6d9f8237e301882c (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-01 11:22:04 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-01 11:22:04 +0300
Filesfd9490a434b8cf7916921280c3903339414192f1 /src/models/DBModel.php
devrix-job-board-83bb68e766bf12c5c48350bd6d9f8237e301882c.tar
devrix-job-board-83bb68e766bf12c5c48350bd6d9f8237e301882c.tar.gz
devrix-job-board-83bb68e766bf12c5c48350bd6d9f8237e301882c.zip
Parent852e91a3da52a478c942bf7a664df8d8798b0641 (diff)
Added and improved existing phpdocumentator documentation
1 files changed, 4 insertions, 1 deletions
-rw-r--r--src/models/DBModel.php5
diff --git a/src/models/DBModel.php b/src/models/DBModel.php
index 859ea97..4e10c18 100644
--- a/src/models/DBModel.php
+++ b/src/models/DBModel.php
@@ -1,9 +1,12 @@
<?php
include_once("DB.php");
+/**
+ * A class, mainly for holding the static DB class intance. You can also get your model id from here.
+ */
abstract class DBModel {
/**
- * Used ONLY for gotten values form the database. Mustn't be assigned to, since it's AUTO_INCREMENT.
+ * Used ONLY for gotten values form the database. Must not be assigned to, since it is AUTO_INCREMENT.
* The id column is set by default in the DB class.
*/
public int $id;