예제 #1
0
 /**
  * ask if the user really wants to update core field structure
  */
 function confirmElementUpdate()
 {
     $pluginManager =& JModel::getInstance('Pluginmanager', 'FabrikModel');
     $className = JRequest::getVar('plugin', 'fabrikfield');
     $model =& $pluginManager->getPlugIn($className, 'element');
     $model->setId(JRequest::getInt('id', 0, 'request'));
     require_once JPATH_COMPONENT . DS . 'views' . DS . 'element.php';
     FabrikViewElement::confirmElementUpdate($model);
 }