You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Fipamo/brain/controller/DashControl.inc.php

19 lines
281 B
PHP

<?php
include "brain/data/Book.inc.php";
class DashControl
{
public function getPages($section)
{
$book = new Book("content/pages");
switch ($section) {
case "pages":
break;
default:
return $book->getContents();
break;
}
}
}