コード例 #1
0
ファイル: Container.php プロジェクト: navtis/xerxes-pazpar2
 /**
  * Disable the log retention for the CDN
  *
  * @return boolean
  */
 public function disableLogCdn()
 {
     $result = $this->service->updateCdnContainer($this->getName(), null, null, false);
     if ($result !== false) {
         $this->logRetention = false;
         return true;
     }
     return false;
 }
コード例 #2
0
ファイル: OfflineTest.php プロジェクト: robertodormepoco/zf2
 public function testUpdateCdnContainer()
 {
     $data = $this->rackspace->updateCdnContainer(TESTS_ZEND_SERVICE_RACKSPACE_CONTAINER_NAME, null, false);
     $this->assertTrue($data !== false);
 }