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; }
function renderStringProperty($matches) { if ($matches[1] == 'label') { return $this->renderLabel(); } elseif ($matches[1] == 'control') { return $this->renderControl(); } return parent::renderStringProperty($matches); }