From 4cdda775245dd34eed1a0d61d75f689d9a50eea0 Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Thu, 26 Jul 2012 12:46:03 +1200 Subject: [PATCH] MINOR: add some example of valuse for $db static variable for better understanding --- code/DMSDocument.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/DMSDocument.php b/code/DMSDocument.php index f980b36..e63b867 100644 --- a/code/DMSDocument.php +++ b/code/DMSDocument.php @@ -2,9 +2,9 @@ class DMSDocument extends DataObject implements DMSDocumentInterface { static $db = array( - "Filename" => "Varchar(255)", - "Folder" => "Varchar(255)", - "Title" => 'Varchar(1024)', + "Filename" => "Varchar(255)", // eg. 3469~2011-energysaving-report.pdf + "Folder" => "Varchar(255)", // eg. 0 + "Title" => 'Varchar(1024)', // eg. "Energy Saving Report for Year 2011, New Zealand LandCorp" "Description" => 'Text', );