Esempio n. 1
0
$oHeadPublisher =& headPublisher::getSingleton();
// oHeadPublisher->setExtSkin( 'xtheme-blue');
//get the configuration for this action
$conf = new Configurations();
try {
    // the setup for search is the same as the Sent (participated)
    $confCasesList = $conf->getConfiguration('casesList', $action == 'search' || $action == 'simple_search' ? 'search' : $action);
    $generalConfCasesList = $conf->getConfiguration('ENVIRONMENT_SETTINGS', '');
} catch (Exception $e) {
    $confCasesList = array();
    $generalConfCasesList = array();
}
// reassign header configuration
$confReassignList = getReassignList();
// evaluates an action and the configuration for the list that will be rendered
$config = getAdditionalFields($action, class_exists('enterprisePlugin') ? $confCasesList : array());
$columns = $config['caseColumns'];
$readerFields = $config['caseReaderFields'];
$reassignColumns = $confReassignList['caseColumns'];
$reassignReaderFields = $confReassignList['caseReaderFields'];
// if the general settings has been set the pagesize values are extracted from that record
if (isset($generalConfCasesList['casesListRowNumber']) && !empty($generalConfCasesList['casesListRowNumber'])) {
    $pageSize = intval($generalConfCasesList['casesListRowNumber']);
} else {
    $pageSize = intval($config['rowsperpage']);
}
// if the general settings has been set the dateFormat values are extracted from that record
if (isset($generalConfCasesList['casesListDateFormat']) && !empty($generalConfCasesList['casesListDateFormat'])) {
    $dateFormat = $generalConfCasesList['casesListDateFormat'];
} else {
    $dateFormat = $config['dateformat'];
Esempio n. 2
0
        $table = $aditionalTable->load($confCasesList['PMTable']);
    }
    $confCasesList = $table != null ? $confCasesList : array();
    $generalConfCasesList = $conf->getConfiguration('ENVIRONMENT_SETTINGS', '');
} catch (Exception $e) {
    $confCasesList = array();
    $generalConfCasesList = array();
}
$caseListBuilder = count($confCasesList) ? 1 : 0;
if ($caseListBuilder) {
    $urlProxy = 'proxyCasesList';
}
// reassign header configuration
$confReassignList = getReassignList();
// evaluates an action and the configuration for the list that will be rendered
$config = getAdditionalFields($action, $confCasesList);
$columns = $config['caseColumns'];
$readerFields = $config['caseReaderFields'];
$reassignColumns = $confReassignList['caseColumns'];
$reassignReaderFields = $confReassignList['caseReaderFields'];
// if the general settings has been set the pagesize values are extracted from that record
if (isset($generalConfCasesList['casesListRowNumber']) && !empty($generalConfCasesList['casesListRowNumber'])) {
    $pageSize = intval($generalConfCasesList['casesListRowNumber']);
} else {
    $pageSize = intval($config['rowsperpage']);
}
// if the general settings has been set the dateFormat values are extracted from that record
if (isset($generalConfCasesList['casesListDateFormat']) && !empty($generalConfCasesList['casesListDateFormat'])) {
    $dateFormat = $generalConfCasesList['casesListDateFormat'];
} else {
    $dateFormat = $config['dateformat'];