vendor/aliyuncs/oss-sdk-php/samplesBucketWebsite.php

Functions

putBucketWebsite()

putBucketWebsite(  $ossClient,   $bucket) : null

设置bucket的静态网站托管模式配置

Parameters

$ossClient

OssClient

$bucket

string 存储空间名称

Returns

null

getBucketWebsite()

getBucketWebsite(\OSS\OssClient  $ossClient, string  $bucket) : null

获取bucket的静态网站托管状态

Parameters

\OSS\OssClient $ossClient

OssClient实例

string $bucket

存储空间名称

Returns

null

deleteBucketWebsite()

deleteBucketWebsite(\OSS\OssClient  $ossClient, string  $bucket) : null

删除bucket的静态网站托管模式配置

Parameters

\OSS\OssClient $ossClient

OssClient实例

string $bucket

存储空间名称

Returns

null