Source of file Page.php
Size: 0,948 Bytes - Last Modified: 2022-02-21T10:01:07+00:00
/var/www/docs.ssmods.com/process/src/mysite/code/Page.php
1234567891011121314151617181920212223242526272829303132333435363738 | <?php class Page extends SiteTree { private static $db = array( ); private static $has_one = array( ); } class Page_Controller extends ContentController { /** * An array of actions that can be accessed via a request. Each array element should be an action name, and the * permissions or conditions required to allow the user to access it. * * <code> * array ( * 'action', // anyone can access this action * 'action' => true, // same as above * 'action' => 'ADMIN', // you must have ADMIN permissions to access this action * 'action' => '->checkAction' // you can only access this action if $this->checkAction() returns true * ); * </code> * * @var array */ private static $allowed_actions = array ( ); public function init() { parent::init(); // You can include any CSS or JS required by your project here. // See: http://doc.silverstripe.org/framework/en/reference/requirements } } |