diff options
Diffstat (limited to 'app/class/Element.php')
-rw-r--r-- | app/class/Element.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/class/Element.php b/app/class/Element.php index 1193c66..3160986 100644 --- a/app/class/Element.php +++ b/app/class/Element.php @@ -18,11 +18,11 @@ class Element extends Item protected $headerid = 1; - // __________________________________________________ F U N ____________________________________________________________ + // ______________________________________________ F U N ________________________________________________________ - public function __construct($datas = [], $pageid) + public function __construct($pageid, $datas = []) { $this->hydrate($datas); $this->analyse($pageid); @@ -53,7 +53,7 @@ class Element extends Item - // __________________________________________________ G E T ____________________________________________________________ + // ______________________________________________ G E T ________________________________________________________ public function fullmatch() @@ -111,7 +111,7 @@ class Element extends Item - // __________________________________________________ S E T ____________________________________________________________ + // ______________________________________________ S E T ________________________________________________________ public function setfullmatch(string $fullmatch) |