silverstripe-framework/widgets/WidgetArea.php

15 lines
203 B
PHP
Raw Normal View History

<?php
class WidgetArea extends DataObject {
static $db = array();
static $has_many = array(
"Widgets" => "Widget"
);
function forTemplate() {
return $this->renderWith("WidgetArea");
}
}
?>