45 if (!isset($instance)) {
47 $instance =
new $class();
60 $class =
'XoopsGui' . ucfirst(
$gui);
61 if (!class_exists($class)) {
64 if (class_exists($class)) {
65 if (call_user_func(array($class ,
'validate'))) {
66 $this->gui =
new $class();
67 $this->gui->foldername =
$gui;
71 if (!isset($this->gui)) {
75 $this->gui->foldername =
'default';
90 foreach (array_keys($lists) as
$gui) {
93 if (class_exists($class =
'XoopsGui' . ucfirst($gui))) {
94 if (call_user_func(array($class ,
'validate'))) {
110 foreach ($guis as
$gui) {
113 if (class_exists($class =
'XoopsGui' . ucfirst($gui))) {
114 call_user_func(array($class ,
'flush'));