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;
}
}
}