Ejemplo n.º 1
0
 /**
  * Enable ACL restriction by referer for this container.
  *
  * Example:
  * <code>
  * # ... authentication code excluded (see previous examples) ...
  * #
  * $conn = new CF_Connection($auth);
  *
  * $public_container = $conn->get_container("public");
  *
  * # Enable Referrer
  * $public_container->acl_referrer("http://www.example.com/gallery.php");
  * </code>
  *
  * @returns boolean True if successful
  * @throws CDNNotEnabledException CDN functionality not returned during auth
  * @throws AuthenticationException if auth token is not valid/expired
  * @throws InvalidResponseException unexpected response
  */
 function acl_referrer($cdn_acl_referrer = "")
 {
     $this->initContainer();
     return parent::acl_referrer($cdn_acl_referrer);
 }