コード例 #1
0
ファイル: Container.php プロジェクト: geoffreytran/zym
 /**
  * Purge Containers objects from CDN Cache.
  * Example:
  * <code>
  * # ... authentication code excluded (see previous examples) ...
  * #
  * $conn = new CF_Connection($auth);
  * $container = $conn->get_container("cdn_enabled");
  * $container->purge_from_cdn("*****@*****.**");
  * # or
  * $container->purge_from_cdn();
  * # or
  * $container->purge_from_cdn("user1@domain.com,user2@domain.com");
  * @returns boolean True if successful
  * @throws CDNNotEnabledException if CDN Is not enabled on this connection
  * @throws InvalidResponseException if the response expected is not returned
  */
 function purge_from_cdn($email = null)
 {
     $this->initContainer();
     return parent::purge_from_cdn($email);
 }