getAction (Action::TCURRENT)->getXmlPath (); Business::singleton ()->getAction (Action::TCURRENT)->setXmlPath (FALSE); $view = new View ($field->getXmlPath ()); Business::singleton ()->getAction (Action::TCURRENT)->setXmlPath ($xml); $form = new Form ($field->getXmlPath ()); if (isset ($_SESSION['_TITAN_FORMS_FOR_SAVE_']['_ITEM_ID_'])) $itemId = $_SESSION['_TITAN_FORMS_FOR_SAVE_']['_ITEM_ID_']; else global $itemId; if (!isset ($itemId) || (is_numeric ($itemId) && !(int) $itemId) || trim ($itemId) == '') $itemId = 0; if (!$view->load ($field->getColumn () ." = '". $itemId ."'")) throw new Exception ('Não foi possível carregar dados!'); ob_start (); ?>
getFields ()) + 1; while ($auxField = $view->getField ()) echo ''; ?> getItem ()) { $itemId = $view->getId (); ?> getLink ()) echo ''; ?>
'. View::toLabel ($auxField, FALSE) .'
'. $auxField .'