Ejemplo n.º 1
0
 /**
  * Enable ACL restriction by User Agent for this container.
  *
  * Example:
  * <code>
  * # ... authentication code excluded (see previous examples) ...
  * #
  * $conn = new CF_Connection($auth);
  *
  * $public_container = $conn->get_container("public");
  *
  * # Enable ACL by Referrer
  * $public_container->acl_referrer("Mozilla");
  * </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_user_agent($cdn_acl_user_agent = "")
 {
     $this->initContainer();
     return parent::acl_user_agent($cdn_acl_user_agent);
 }