本文整理汇总了PHP中Cases::getallDynaformsCriteria方法的典型用法代码示例。如果您正苦于以下问题:PHP Cases::getallDynaformsCriteria方法的具体用法?PHP Cases::getallDynaformsCriteria怎么用?PHP Cases::getallDynaformsCriteria使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Cases
的用法示例。
在下文中一共展示了Cases::getallDynaformsCriteria方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Users
require_once 'classes/model/Users.php';
$oUser = new Users();
$aUser = $oUser->load($aFields['USR_UID']);
$aFields['CREATOR'] = $aUser['USR_FIRSTNAME'] . ' ' . $aUser['USR_LASTNAME'];
$aFields['VIEW'] = G::LoadTranslation('ID_OPEN');
$aFields['FILE1'] = 'cases_ShowOutputDocument?a=' . $aFields['APP_DOC_UID'] . '&ext=doc&random=' . rand();
$aFields['FILE2'] = 'cases_ShowOutputDocument?a=' . $aFields['APP_DOC_UID'] . '&ext=pdf&random=' . rand();
$G_PUBLISH = new Publisher();
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'cases/cases_ViewAnyOutputDocument', '', G::array_merges($aOD, $aFields), '');
G::RenderPage('publish', 'raw');
break;
case 'showDynaformList':
$oCase = new Cases();
global $G_PUBLISH;
$G_PUBLISH = new Publisher();
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'cases/cases_AllDynaformsList', $oCase->getallDynaformsCriteria($_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['TASK'], $_SESSION['USER_LOGGED']));
G::RenderPage('publish', 'raw');
break;
case 'showDynaform':
$G_PUBLISH = new Publisher();
$oCase = new Cases();
$Fields = $oCase->loadCase($_SESSION['APPLICATION']);
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['PREVIOUS_STEP_LABEL'] = '';
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['NEXT_STEP_LABEL'] = '';
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['NEXT_STEP'] = '#';
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['NEXT_ACTION'] = 'return false;';
if (isset($_POST['DYN_UID'])) {
$_SESSION['DYN_UID_PRINT'] = $_POST['DYN_UID'];
} else {
$_SESSION['DYN_UID_PRINT'] = $_REQUEST['DYN_UID'];
}
示例2: Configurations
G::loadClass('configuration');
$conf = new Configurations();
$oHeadPublisher->addExtJsScript('cases/caseHistoryDynaformPage', true);
//adding a javascript file .js
$oHeadPublisher->addContent('cases/caseHistoryDynaformPage');
//adding a html file .html.
$oHeadPublisher->assign('pageSize', $conf->getEnvSetting('casesListRowNumber'));
G::RenderPage('publish', 'extJs');
}
if ($actionAjax == 'historyDynaformGrid_Ajax') {
G::LoadClass('case');
G::LoadClass("BasePeer");
global $G_PUBLISH;
$oCase = new Cases();
$aProcesses = array();
$c = $oCase->getallDynaformsCriteria($_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['TASK'], $_SESSION['USER_LOGGED']);
if ($c->getDbName() == 'dbarray') {
$rs = ArrayBasePeer::doSelectRs($c);
} else {
$rs = GulliverBasePeer::doSelectRs($c);
}
$rs->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$rs->next();
for ($j = 0; $j < $rs->getRecordCount(); $j++) {
$result = $rs->getRow();
//$result["ID_HISTORY"] = $result["PRO_UID"].'_'.$result["APP_UID"].'_'.$result["TAS_UID"];
$aProcesses[] = $result;
$rs->next();
}
$newDir = '/tmp/test/directory';
$r = G::verifyPath($newDir);