function NextendTabDefaultVertical(&$form, &$xml) { $css = NextendCss::getInstance(); $css->addCssLibraryFile('tabs/defaultvertical.css'); $this->_matrixname = NextendXmlGetAttribute($xml, 'name'); parent::NextendTab($form, $xml); }
function render($control_name) { parent::render($control_name); $js = NextendJavascript::getInstance(); $js->addLibraryJsAssetsFile('dojo', 'fontmatrix.js'); $element = new SimpleXMLElement('<param type="fontmanager" base64="1" label="**label**" default="**value**" name="**name**" tabs="Text|Link|Link:Hover" />'); $extrafont = new NextendElementFontmanager($this->_form, $this, $element); $extrafont->_includeJS = false; $extrafont->_editableName = true; $extrahtml = $extrafont->render($control_name); $js->addLibraryJs('dojo', ' new NextendFontmatrix({ table: "nextend-' . $this->_matrixname . '", name: "' . $this->_matrixname . '", html: ' . json_encode($extrahtml) . ', js: ' . json_encode($extrafont->printjs) . ', biggestindex: ' . $this->biggestindex . ' }); '); }
function NextendTabHorizontal(&$form, &$xml) { $css = NextendCss::getInstance(); $css->addCssLibraryFile('tabs/horizontal.css'); parent::NextendTab($form, $xml); }
function NextendTabTabbed(&$form, &$xml) { $css = NextendCss::getInstance(); $css->addCssLibraryFile('tabs/tabbed.css'); parent::NextendTab($form, $xml); }
function __construct(&$form, &$xml) { $css = NextendCss::getInstance(); $css->addCssLibraryFile('tabs/tabbed.css'); parent::__construct($form, $xml); }