/** * Get full path for current page's filename. At this point file itself might or might not have been created. * * Filename is created the same way as getFile() * * @return array array(filename, directory) */ public function getFilePath() { $fname = $this->getFile(); $subdir = HashDirectory::getLocation($fname); return $this->cache_path . $subdir . $fname; }
public function testGetLocationEmptyFilename() { $this->assertNull($this->hd->getLocation('')); }