diff options
Diffstat (limited to 'app/class/Metaedit.php')
-rw-r--r-- | app/class/Metaedit.php | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/app/class/Metaedit.php b/app/class/Metaedit.php deleted file mode 100644 index e21a0c2..0000000 --- a/app/class/Metaedit.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php - -namespace Wcms; - -class Pageedit extends Page -{ - protected $resettag; - protected $resetdate; - protected $emptycontent; - - - - - /** - * Edit a page based on object seting - * - * @param Page $page Page to be metaedited - * - * @return Page Edited page object - */ - public function editpage(Page $page) - { - if($this->resettag) { - $page->tag([]); - } - $page->addtag($this->tag); - if($this->resetdate) { - $page->date() - } - $page->secure($this->secure); - $page->templatebody($this->templatebody); - $page->templatecss($this->templatecss); - $page->templatejavascript($this->templatejavascript); - - return $page; - } - -} - - - - - -?>
\ No newline at end of file |