/** * Get URL to download CSS file * * @param string $fileId * @param int $themeId * @return string */ public function getDownloadUrl($fileId, $themeId) { return $this->getUrl('adminhtml/*/downloadCss', array('theme_id' => $themeId, 'file' => $this->urlCoder->encode($fileId))); }
public function testEncode() { $this->assertEquals($this->_encodeUrl, $this->_urlCoder->encode($this->_url)); }