code/content/ContentService.php
public function findReaderFor($storeType, $assetName, $remapToId = true) {
		$writer = $this->getWriter($storeType);
		$contentId = $storeType . self::SEPARATOR . ($remapToId ? $writer->nameToId($assetName) : $assetName);
		$reader = $this->getReader($contentId);
		return $reader ? ($reader->isReadable() ? $reader : null) : null;
	}
public function findReaderFor($storeType, $assetName, $remapToId = true) {
		$writer = $this->getWriter($storeType);
		$contentId = $storeType . self::SEPARATOR . ($remapToId ? $writer->nameToId($assetName) : $assetName);
		$reader = $this->getReader($contentId);
		return $reader ? ($reader->isReadable() ? $reader : null) : null;
	}
public function findReaderFor ( $ storeType , $ assetName , $ remapToId = true ) { $ writer = $ this -> getWriter ( $ storeType ) ; $ contentId = $ storeType . self :: SEPARATOR . ( $ remapToId ? $ writer -> nameToId ( $ assetName ) : $ assetName ) ; $ reader = $ this -> getReader ( $ contentId ) ; return $ reader ? ( $ reader -> isReadable ( ) ? $ reader : null ) : null ; }
Gets a content reader for the given store type over the asset given in
assetName. This is used for finding if an asset is stored remotely or
not

Returns NULL if that asset doesn't exist.

@param string $storeType
The named store we're looking into
@param string $assetName
The name of the asset to look up
@param boolean $remapToId
Do we let the reader remap the name to how it represents asset paths? Or are
we looking up an already-mapped path name?

@return ContentReader
Gets a content reader for the given store type over the asset given in assetName . This is used for finding if an asset is stored remotely or not