/**
  * {@inheritdoc}
  */
 public function getUrls()
 {
     if (is_null($this->urls) || $this->refresh === true) {
         $this->urls = array();
         $this->refresh = false;
         foreach ($this->options['images'] as &$image) {
             $this->urls[] = !is_null($this->urlManager) ? $this->urlManager->url($this->options['output_dir'] . DIRECTORY_SEPARATOR . $this->filename($image)) : $this->source[$image['index']];
         }
     }
     return $this->urls;
 }
 /**
  * Podaj tablicę adresów URL do zasobów
  * 
  * @return array
  */
 public function getUrl()
 {
     if (is_null($this->urls)) {
         $this->urls = array();
         foreach ($this->source as $source) {
             $this->urls[] = !is_null($this->urlManager) ? $this->urlManager->url($source) : $source;
         }
     }
     return $this->urls;
 }