Fixing code formatting

This commit is contained in:
Sean Harvey 2013-01-24 13:43:54 +13:00
parent 3aa2cdccba
commit 1f1b115ef9

View File

@ -15,7 +15,7 @@ functionality. It is usually added through the `[api:DataObject->getCMSFields()]
:::php
class MyObject extends DataObject {
static $db = array('Content' => 'HTMLText');
public function getCMSFields() {
return new FieldList(new HTMLEditorField('Content'));
}