Exemplo n.º 1
0
 function display($tpl = null)
 {
     JFormHelper::addFormPath(JPATH_ADMINISTRATOR . '/components/com_j2store/models/forms');
     JFormHelper::addFieldPath(JPATH_ADMINISTRATOR . '/components/com_j2store/models/fields');
     $this->form = JForm::getInstance('storeprofile', 'storeprofile');
     $this->addToolBar();
     parent::display();
 }
Exemplo n.º 2
0
 /**
  * Proxy for JFormHelper::addFormPath().
  *
  * @param   mixed  $new  A path or array of paths to add.
  *
  * @return  array  The list of paths that have been added.
  *
  * @see     JFormHelper::addFormPath()
  * @since   11.1
  */
 public static function addFormPath($new = null)
 {
     return JFormHelper::addFormPath($new);
 }