コード例 #1
0
ファイル: JsCssList.class.php プロジェクト: theratg/miao
 protected function _makeLink($path)
 {
     $search = $this->_dstFolder . DIRECTORY_SEPARATOR;
     $replace = '';
     $query = 't=' . $this->_buildTimestamp;
     $result = $this->_dataHelperUrl->src(str_replace($search, $replace, $path), $query);
     return $result;
 }
コード例 #2
0
ファイル: JsCssList.class.php プロジェクト: natalikom/miao
 protected function _makeLinks(array $fileList)
 {
     $result = array();
     $search = $this->_dstFolder . DIRECTORY_SEPARATOR;
     $replace = '';
     foreach ($fileList as $value) {
         $query = 't=' . Miao_Config::Main()->get('timestamp');
         $result[] = $this->_dataHelperUrl->src(str_replace($search, $replace, $value), $query);
     }
     return $result;
 }