Exemplo n.º 1
0
 /**
  *  @public
  */
 public static function renderNone(&$html, $params)
 {
     if (!XC_CLASS_EXISTS('xoopsformelement')) {
         require_once XOOPS_ROOT_PATH . "/class/xoopsformloader.php";
     }
     $form = new XoopsFormTextArea($params['name'], $params['name'], $params['value'], $params['rows'], $params['cols']);
     $form->setId($params['id']);
     if ($params['class'] != null) {
         $form->setClass($params['class']);
     }
     $html = $form->render();
 }