public function cdnUrl($containerName, $ssl = TRUE) {
    if (!empty($this->cdnContainers[$containerName])) {
      $key = $ssl ? 'sslUrl' : 'url';
      return $this->cdnContainers[$containerName][$key];
    }
  }
public function cdnUrl($containerName, $ssl = TRUE) {
    if (!empty($this->cdnContainers[$containerName])) {
      $key = $ssl ? 'sslUrl' : 'url';
      return $this->cdnContainers[$containerName][$key];
    }
  }
public function cdnUrl ( $ containerName , $ ssl = TRUE ) { if ( ! empty ( $ this -> cdnContainers [ $ containerName ] ) ) { $ key = $ ssl ? 'sslUrl' : 'url' ; return $ this -> cdnContainers [ $ containerName ] [ $ key ] ; } }
Return the CDN URL for a particular container.

If CDN is enabled, this will attempt to get the URL
to the CDN endpoint for the given container.

@param string $containerName
The name of the container.
@param boolean $ssl
If this is TRUE (default), get the URL to the SSL CDN;
otherwise get the URL to the plain HTTP CDN.
@retval string
@return string
The URL to the CDN container, or NULL if no such
URL is found.
Return the CDN URL for a particular container .