/** * Konstruktor */ public function __construct() { parent::__construct(); $this->checkPermission = array('article' => array('editall', 'edit'), 'comment' => array('editall', 'edit')); $this->view = new \fpcm\model\view\ajax('commentlist_inner', 'comments'); $this->view->initAssigns(); $this->list = new \fpcm\model\comments\commentList(); $this->articleList = new \fpcm\model\articles\articlelist(); }
/** * Konstruktor */ public function __construct() { parent::__construct(); $this->articleList = new \fpcm\model\articles\articlelist(); $this->categoryList = new \fpcm\model\categories\categoryList(); $this->commentList = new \fpcm\model\comments\commentList(); $this->userList = new \fpcm\model\users\userList(); $this->view = new \fpcm\model\view\ajax('articles', 'articles/lists'); $this->view->initAssigns(); }