aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-22 14:16:42 +0200
committerThomas Lange <code@nerdmind.de>2021-07-22 14:16:42 +0200
commit2a027f475847c2fee60b873be3fc55d845e68961 (patch)
treed72c52e0fd13a05a2dfbd754112f3ceb166d93b5
parent59392e460020447720089976b83139ad59d275fe (diff)
downloadblog-2a027f475847c2fee60b873be3fc55d845e68961.tar.gz
blog-2a027f475847c2fee60b873be3fc55d845e68961.tar.xz
blog-2a027f475847c2fee60b873be3fc55d845e68961.zip
Do not redefine properties of Entity class
Do not redefine properties that are already defined in the Entity class.
-rw-r--r--core/namespace/ORM/Entities/Category.php3
-rw-r--r--core/namespace/ORM/Entities/Page.php3
-rw-r--r--core/namespace/ORM/Entities/Post.php3
-rw-r--r--core/namespace/ORM/Entities/User.php3
4 files changed, 0 insertions, 12 deletions
diff --git a/core/namespace/ORM/Entities/Category.php b/core/namespace/ORM/Entities/Category.php
index 17560a7..cf3ca5f 100644
--- a/core/namespace/ORM/Entities/Category.php
+++ b/core/namespace/ORM/Entities/Category.php
@@ -3,12 +3,9 @@ namespace ORM\Entities;
use ORM\Entity;
class Category extends Entity {
- protected $id = FALSE;
protected $parent = FALSE;
protected $slug = FALSE;
protected $name = FALSE;
protected $body = FALSE;
protected $argv = FALSE;
- protected $time_insert = FALSE;
- protected $time_update = FALSE;
}
diff --git a/core/namespace/ORM/Entities/Page.php b/core/namespace/ORM/Entities/Page.php
index 94e5ff5..96ff233 100644
--- a/core/namespace/ORM/Entities/Page.php
+++ b/core/namespace/ORM/Entities/Page.php
@@ -3,12 +3,9 @@ namespace ORM\Entities;
use ORM\Entity;
class Page extends Entity {
- protected $id = FALSE;
protected $user = FALSE;
protected $slug = FALSE;
protected $name = FALSE;
protected $body = FALSE;
protected $argv = FALSE;
- protected $time_insert = FALSE;
- protected $time_update = FALSE;
}
diff --git a/core/namespace/ORM/Entities/Post.php b/core/namespace/ORM/Entities/Post.php
index 080f01f..6a52a1f 100644
--- a/core/namespace/ORM/Entities/Post.php
+++ b/core/namespace/ORM/Entities/Post.php
@@ -3,13 +3,10 @@ namespace ORM\Entities;
use ORM\Entity;
class Post extends Entity {
- protected $id = FALSE;
protected $user = FALSE;
protected $category = FALSE;
protected $slug = FALSE;
protected $name = FALSE;
protected $body = FALSE;
protected $argv = FALSE;
- protected $time_insert = FALSE;
- protected $time_update = FALSE;
}
diff --git a/core/namespace/ORM/Entities/User.php b/core/namespace/ORM/Entities/User.php
index f0c9a1f..65d5345 100644
--- a/core/namespace/ORM/Entities/User.php
+++ b/core/namespace/ORM/Entities/User.php
@@ -3,7 +3,6 @@ namespace ORM\Entities;
use ORM\Entity;
class User extends Entity {
- protected $id = FALSE;
protected $slug = FALSE;
protected $username = FALSE;
protected $password = FALSE;
@@ -11,6 +10,4 @@ class User extends Entity {
protected $mailaddr = FALSE;
protected $body = FALSE;
protected $argv = FALSE;
- protected $time_insert = FALSE;
- protected $time_update = FALSE;
}