MINOR: add some example of valuse for $db static variable for better understanding

This commit is contained in:
Normann Lou 2012-07-26 12:46:03 +12:00
parent 8e03989022
commit 4cdda77524

View File

@ -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',
);