function &getAssociatedByConcept( $dm, $dc ) { $concept_id = getConceptId( $dm, $dc ); return readConceptMapping( $concept_id ); }
protected function get() { global $wgOut, $wgRequest; $concept_id = $wgRequest->getText( "concept" ); $wgOut->addWikiText( "<h2>" . wfMsgSc( "contents_of_mapping" ) . "</h2>" ); $map = readConceptMapping( $concept_id ); # $sets=wdGetDataSets(); foreach ( $map as $dc => $dm_id ) { $wgOut->addWikiText( "$dc -> $dm_id" ); } }