XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
formselecttheme.php
1<?php
13
14if (!defined('XOOPS_ROOT_PATH')) {
15 exit();
16}
17
21include_once XOOPS_ROOT_PATH . '/class/xoopslists.php';
25include_once XOOPS_ROOT_PATH . '/class/xoopsform/formselect.php';
26
27
28class XoopsFormSelectTheme extends XoopsFormSelect
29{
38 public function __construct($caption, $name, $value=null, $size=1)
39 {
40 $this->XoopsFormSelect($caption, $name, $value, $size);
41 $this->addOptionArray(XoopsLists::getThemesList());
42 }
43 public function XoopsFormSelectTheme($caption, $name, $value=null, $size=1)
44 {
45 return $this->__construct($caption, $name, $value, $size);
46 }
47}
addOptionArray($options)
__construct($caption, $name, $value=null, $size=1)