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