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