Exemple #1
0
 /**
  * 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)));
 }
Exemple #2
0
 public function testEncode()
 {
     $this->assertEquals($this->_encodeUrl, $this->_urlCoder->encode($this->_url));
 }