/** * Function generates an drop down list with the attribute details. * * * @return array */ function showAttrib() { $components = new Lib_Components(); $this->data['allatt'] = $components->createComponent('combobox', $this->getAttribListValues('attrib'), 'name=id class=attrib_box', $_GET['attid']); $this->makeConstants($this->data, $prefix = ''); }
/** * Function generates a combo box using the lib components for the html content * * * @return array */ function showContent() { $components = new Lib_Components(); return $this->data['allattrib'] = $components->createComponent('combobox', $this->getListValues('htmlcontent'), 'name="contentid" class="txt_box200" id="allcont" onchange="callContent(this.value);"'); }