silverstripe-installer/mysite/code/Page.php

20 lines
243 B
PHP
Raw Normal View History

<?
class Page extends SiteTree {
static $db = array(
);
static $has_one = array(
);
}
class Page_Controller extends ContentController {
// Gets the Project Name
function project() {
global $project;
return $project;
}
}
?>