예제 #1
0
파일: Css.php 프로젝트: aiesh/magento2
 /**
  * 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)));
 }
예제 #2
0
 public function testEncode()
 {
     $this->assertEquals($this->_encodeUrl, $this->_urlCoder->encode($this->_url));
 }