function xoInit($options = array(), $attributes = array()) { if ($this->refPath && !$this->name) { $this->name = $this->refPath; } return parent::xoInit($options, $attributes); }
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; }