예제 #1
0
$tabMap['import']['show'] = array('tab' => 'import', 'title' => 'Show Import Detail');
//get the current module/action
/** @var sfParameterHolder $sf_params */
$module = $sf_params->get('module');
$action = $sf_params->get('action');
//add the truncate helper if it's a list
if ('list' == $action) {
    use_helper('TruncateUri');
}
//retrieve the map
$tab = $tabMap[$module][$action]['tab'];
$buildBc = $tab;
$metaAction = ' :: ' . __($tabMap[$module][$action]['title']);
//set the filter
/** @var myUser $sf_user * */
myActionTools::updateAdminFilters($sf_user->getAttributeHolder(), $value, $paramId, $module);
//setup the variables determining which breadcrumb to display
$showVocabularyBc = false;
$showVocabUserBc = false;
$showSchemaBc = false;
$showSchemaUserBc = false;
$showSchemaPropBc = false;
$showSchemaPropelBc = false;
$showSchemaHistoryBc = false;
$showConceptBc = false;
$showconceptpropBc = false;
$showAgentBc = false;
$showAgentUserBc = false;
$showUserBc = false;
$showHistoryBc = false;
$showDiscussBc = false;