silverstripe-framework/widgets/WidgetArea.php

23 lines
320 B
PHP
Raw Normal View History

<?php
/**
* @package sapphire
* @subpackage synchronisation
*/
/**
* Represents a set of widgets shown on a page.
*/
class WidgetArea extends DataObject {
static $db = array();
static $has_many = array(
"Widgets" => "Widget"
);
function forTemplate() {
return $this->renderWith("WidgetArea");
}
}
?>