public function actionAll()
 {
     $view = new View();
     $page = new PageController();
     $view->assign('data', $page->getPage());
     $view->assign('pageNav', $page->createNav($this->ctrl));
     $view->assign('links', $page->createLink($this->ctrl));
     $view->display($this->view_all);
 }
Beispiel #2
0
            break;
        case "deleteProject":
            $ProjectController->deleteProject();
            break;
        case "getProject":
            $ProjectController->getProject();
            break;
        case "getProjects":
            $ProjectController->getProjects();
            break;
            // Page Methods
        // Page Methods
        case "createPage":
            $PageController->createPage();
            break;
        case "deletePage":
            $PageController->deletePage();
            break;
        case "getPage":
            $PageController->getPage();
            break;
        case "getPages":
            $PageController->getPages();
            break;
        case "savePage":
            $PageController->savePage();
            break;
    }
} else {
    echo json_error_msg("Forgot Post['action'] in call" . $_POST['userFullName']);
}