Beispiel #1
0
 /**
  *
  */
 function showlinkedelements()
 {
     $cid = JRequest::getVar('cid', array(0), 'method', 'array');
     $row =& JTable::getInstance('table', 'Table');
     $row->load($cid[0]);
     $formId = $row->form_id;
     $formModel = JModel::getInstance('Form', 'FabrikModel');
     $formModel->setId($formId);
     $form =& $formModel->getForm();
     $formGroupEls = $formModel->getFormGroups(false);
     require_once JPATH_COMPONENT . DS . 'views' . DS . 'table.php';
     FabrikViewTable::showTableDetail($form, $formGroupEls);
 }