create_zip() 공개 정적인 메소드

# Creates a new zip archive in the server and returns information in JSON format
public static create_zip ( $options = [] )
예제 #1
0
 public function test_allow_missing()
 {
     Curl::mockUpload($this);
     Uploader::create_zip(array("tags" => $this->tag, "allow_missing" => TRUE));
     assertUrl($this, '/image/generate_archive');
     assertParam($this, "tags[0]", $this->tag);
     assertParam($this, "allow_missing", 1, "should support the 'allow_missing' parameter");
 }