/** * Get the path of the transcoded directory, or a particular file if $suffix is specified * * @param bool|string $suffix If not false, the name of a media file * @return string */ function getTranscodedPath($suffix = false) { $this->assertRepoDefined(); return $this->repo->getZonePath('transcoded') . '/' . $this->getThumbRel($suffix); }