Example #1
0
         if ($concept) {
             $vocabulary = $concept->getVocabulary();
         }
     }
     $objectId = $concept_property->getId();
     break;
 case 'historydetail':
     $showBc = true;
     $showVocabularyBc = true;
     $showConceptBc = true;
     $showconceptpropBc = true;
     $showHistoryBc = true;
     if (!isset($history)) {
         $id = $sf_params->get('id');
         if ($id) {
             $history = ConceptPropertyHistoryPeer::retrieveByPK($id);
         }
     }
     if (!isset($concept_property)) {
         if ($history) {
             sfPropelParanoidBehavior::disable();
             $concept_property = $history->getConceptProperty();
         }
     }
     if (!isset($concept)) {
         if ($concept_property) {
             sfPropelParanoidBehavior::disable();
             $concept = $concept_property->getConceptRelatedByConceptId();
         }
     }
     if (!isset($vocabulary)) {