<?php
class WidgetHolder extends SiteTree {
	
    
    public static $db = array(
	);

	public static $has_one = array(
	);
    
    public static $defaults = array(
		"ShowInMenus" => 0
	);
	
	static $allowed_children = array('WidgetPage');
	
    
	public function getCMSFields() {
		$fields = parent::getCMSFields();
        $fields->removeByName('Content', true);
        $fields->removeByName('ShowInMenus');
        $fields->removeByName('ShowInSearch');
        $fields->removeByName('ProvideComments');
		return $fields;
	}
	
	
}
class WidgetHolder_Controller extends Page_Controller {

	
	public static $allowed_actions = array ();

	
}