aboutsummaryrefslogtreecommitdiff
path: root/app/class/Element.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Element.php')
-rw-r--r--app/class/Element.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/app/class/Element.php b/app/class/Element.php
index 72eba8f..a08e219 100644
--- a/app/class/Element.php
+++ b/app/class/Element.php
@@ -4,7 +4,7 @@ namespace Wcms;
use Exception;
-class Element
+class Element extends Item
{
protected $fullmatch;
protected $type;
@@ -29,17 +29,6 @@ class Element
$this->analyse($pageid);
}
- public function hydrate($datas)
- {
- foreach ($datas as $key => $value) {
- $method = 'set' . $key;
-
- if (method_exists($this, $method)) {
- $this->$method($value);
- }
- }
- }
-
private function analyse(string $pageid)
{
if(!empty($this->options)) {