Source of file ShowCase.php
Size: 0,533 Bytes - Last Modified: 2022-02-21T10:01:07+00:00
/var/www/docs.ssmods.com/process/src/mysite/code/ShowCase.php
1234567891011121314151617181920212223242526 | <?php class ShowCase extends Page { private static $db = array ( 'ShowCaseIcon' => 'Text', 'ShowCaseTeaser' => 'Text', ); private static $can_be_root = false; public function getCMSFields() { $fields = parent::getCMSFields(); $fields->addFieldToTab('Root.Main', TextField::create('ShowCaseIcon','Showcase Icon'),'Content'); $fields->addFieldToTab('Root.Main', TextareaField::create('ShowCaseTeaser','Showcase Teaser'),'Content'); return $fields; } } class ShowCase_Controller extends Page_Controller { } |