예제 #1
0
             sfPropelParanoidBehavior::disable();
             $schema = $schema_property->getSchema();
         }
     }
     $tab = false;
     break;
 case 'schemahistorydetail':
     $showBc = true;
     $showSchemaBc = true;
     $showSchemaPropBc = true;
     $showSchemaPropelBc = true;
     $showSchemaHistoryBc = true;
     if (!isset($history)) {
         $id = $sf_params->get('id');
         if ($id) {
             $history = SchemaPropertyElementHistoryPeer::retrieveByPK($id);
         }
     }
     if (!isset($schema_property_element)) {
         if ($history) {
             sfPropelParanoidBehavior::disable();
             $schema_property_element = $history->getSchemaPropertyElement();
         }
     }
     if (!isset($schema_property)) {
         if ($schema_property_element) {
             sfPropelParanoidBehavior::disable();
             $schema_property = $schema_property_element->getSchemaPropertyRelatedBySchemaPropertyId();
         }
     }
     if (!isset($schema)) {