mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
MINOR: add some example of valuse for $db static variable for better understanding
This commit is contained in:
parent
8e03989022
commit
4cdda77524
@ -2,9 +2,9 @@
|
|||||||
class DMSDocument extends DataObject implements DMSDocumentInterface {
|
class DMSDocument extends DataObject implements DMSDocumentInterface {
|
||||||
|
|
||||||
static $db = array(
|
static $db = array(
|
||||||
"Filename" => "Varchar(255)",
|
"Filename" => "Varchar(255)", // eg. 3469~2011-energysaving-report.pdf
|
||||||
"Folder" => "Varchar(255)",
|
"Folder" => "Varchar(255)", // eg. 0
|
||||||
"Title" => 'Varchar(1024)',
|
"Title" => 'Varchar(1024)', // eg. "Energy Saving Report for Year 2011, New Zealand LandCorp"
|
||||||
"Description" => 'Text',
|
"Description" => 'Text',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user