public function getMediaPath($fileName)
    {
        // If this is an external link to a media file, just return string
        if (stripos($fileName, 'http') === 0 || empty($fileName)) {
            return $fileName;
        }

        return ($this->container->filePath)($fileName) . $fileName;
    }
public function getMediaPath($fileName)
    {
        // If this is an external link to a media file, just return string
        if (stripos($fileName, 'http') === 0 || empty($fileName)) {
            return $fileName;
        }

        return ($this->container->filePath)($fileName) . $fileName;
    }
public function getMediaPath ( $ fileName ) { // If this is an external link to a media file, just return string if ( stripos ( $ fileName , 'http' ) === 0 || empty ( $ fileName ) ) { return $ fileName ; } return ( $ this -> container -> filePath ) ( $ fileName ) . $ fileName ; }
Get Media Path

@param  string $fileName Media file name to parse
@return string
Get Media Path