Пример #1
0
 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
 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;
 }