From 47d52a66f4a730e2204ab8b8804293481b727b65 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 16 Apr 2013 15:51:33 +0200 Subject: [PATCH] Removed extraneous declarations --- code/model/Widget.php | 37 ------------------------------------- code/model/WidgetArea.php | 25 ------------------------- 2 files changed, 62 deletions(-) diff --git a/code/model/Widget.php b/code/model/Widget.php index 929301b..ef41766 100644 --- a/code/model/Widget.php +++ b/code/model/Widget.php @@ -12,69 +12,32 @@ */ class Widget extends DataObject { - /** - * - * @var array - */ public static $db = array( "Sort" => "Int", "Enabled" => "Boolean" ); - /** - * - * @var array - */ public static $defaults = array( 'Enabled' => true ); - /** - * - * @var array - */ public static $has_one = array( "Parent" => "WidgetArea", ); - /** - * - * @var array - */ - public static $has_many = array(); - - /** - * - * @var array - */ - public static $many_many = array(); - - /** - * - * @var array - */ - public static $belongs_many_many = array(); - - /** - * - * @var string - */ public static $default_sort = "\"Sort\""; /** - * * @var string */ public static $title = "Widget Title"; /** - * * @var string */ public static $cmsTitle = "Name of this widget"; /** - * * @var string */ public static $description = "Description of what this widget does."; diff --git a/code/model/WidgetArea.php b/code/model/WidgetArea.php index 9c9d775..5529301 100644 --- a/code/model/WidgetArea.php +++ b/code/model/WidgetArea.php @@ -7,37 +7,12 @@ class WidgetArea extends DataObject { /** - * - * @var array - */ - public static $db = array(); - - /** - * - * @var array - */ - public static $has_one = array(); - - /** - * * @var array */ public static $has_many = array( "Widgets" => "Widget" ); - /** - * - * @var array - */ - public static $many_many = array(); - - /** - * - * @var array - */ - public static $belongs_many_many = array(); - /** * * @var string