php test
Php
code posted
created at 30 Mar 19:57
Edit
|
Back
1 2 3 4 5 6 7 8 |
static $has_one = array( "Sidebar" => "WidgetArea", ); function getCMSFields() { $fields = parent::getCMSFields(); $fields->addFieldToTab("Root.Content.Widgets", new WidgetAreaEditor("Sidebar")); return $fields; } |
226 Bytes in 2 ms with coderay