Created
November 17, 2014 18:25
-
-
Save muskie9/871c8bc7c27fed71e489 to your computer and use it in GitHub Desktop.
tabset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getCMSFields(){ | |
$fields = new TabSet( | |
'Root', | |
$mainTab = new Tab( | |
'Main', | |
new NumericField( | |
'MaxVideosPerPage', | |
'Maximum Number of Videos per Page:', | |
$this->MaxVideosPerPage | |
)), | |
$specialPagesTab = new Tab( | |
'SpecialPages', | |
new LabelField( 'Test', 'Test') | |
) | |
); | |
debug::dump($fields);exit; | |
$mainTab->setTitle('Main'); | |
$specialPagesTab->setTitle('Special Pages'); | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment