Esempio n. 1
0
 function xoInit($options = array(), $attributes = array())
 {
     $attributes = array_merge(array('method' => 'post', 'action' => $_SERVER['REQUEST_URI']), $attributes);
     parent::xoInit($options, $attributes);
     //$this->xoElements =& $GLOBALS['xoops2']->create( 'xoops.form.group' );
     //$this->elements =& $this->xoElements->elements;
     return true;
 }
Esempio n. 2
0
 function renderStringProperty($matches)
 {
     if ($matches[1] == 'label') {
         return $this->renderLabel();
     } elseif ($matches[1] == 'control') {
         return $this->renderControl();
     }
     return parent::renderStringProperty($matches);
 }