__construct() 공개 메소드

默认构造函数
부터: 2011-11-08
저자: xiaobing.meng@alibaba-inc.com
public __construct ( $access_id = null, string $access_key = null, string $hostname = null )
$access_key string (Optional)
$hostname string (Optional)
예제 #1
0
파일: Oss.php 프로젝트: lanma121/superPrize
 public function __construct($ak, $sk, $host, $bucket, $ns = '', $cdn = '')
 {
     parent::__construct($ak, $sk, $host);
     $this->bucket = $bucket;
     $this->host = $host;
     $this->ns = $ns;
     $this->cdn = $cdn;
 }