private function openPostManager() { $list = new PostList(); $data = array('posts' => $list->getPosts()); $this->loadView('cm_posts', $data); }