code/controllers/ExternalContentAdmin.php
public function getRecord($id) {
		if(is_numeric($id)) {
			return parent::getRecord($id);
		} else {
			return ExternalContent::getDataObjectFor($id);
		}
	}
public function getRecord($id) {
		if(is_numeric($id)) {
			return parent::getRecord($id);
		} else {
			return ExternalContent::getDataObjectFor($id);
		}
	}
public function getRecord ( $ id ) { if ( is_numeric ( $ id ) ) { return parent :: getRecord ( $ id ) ; } else { return ExternalContent :: getDataObjectFor ( $ id ) ; } }
Return the record corresponding to the given ID.

Both the numeric IDs of ExternalContentSource records and the composite IDs of ExternalContentItem entries
are supported.

@param  string $id The ID
@return Dataobject The relevant object
Return the record corresponding to the given ID .