Blog
extends Facade
in package
Class Blog
Table of Contents
Properties
- $container : Container
- $instance : mixed
Methods
- __callStatic() : mixed
- getInstance() : mixed
- get service instance
- hasDescendantBlogs() : bool
- isCodeExists() : bool
- isDomain() : bool
- isValidStatus() : bool
- setContainer() : void
- getServiceAlias() : string
- getServiceInstance() : mixed
- isCache() : bool
Properties
$container
protected
static Container
$container
$instance
protected
static mixed
$instance
Methods
__callStatic()
public
static __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
getInstance()
get service instance
public
static getInstance() : mixed
hasDescendantBlogs()
public
static hasDescendantBlogs(int $blogId) : bool
指定したブログが子孫ブログを持っているか
Parameters
- $blogId : int
Return values
boolisCodeExists()
public
static isCodeExists(string $domain, string $code[, int $bid = = 'null' ][, int $aid = = 'null' ]) : bool
ブログコードの存在をチェック
Parameters
- $domain : string
- $code : string
- $bid : int = = 'null'
- $aid : int = = 'null'
Return values
boolisDomain()
public
static isDomain(string $domain, int $bid[, bool $isAlias = = 'false' ][, bool $update = = 'false' ]) : bool
ライセンスされているドメインかチェック
Parameters
- $domain : string
- $bid : int
- $isAlias : bool = = 'false'
- $update : bool = = 'false'
Return values
boolisValidStatus()
public
static isValidStatus(string $val[, bool $update = = 'false' ]) : bool
指定したブログのステータスが設定できるか
Parameters
- $val : string
- $update : bool = = 'false'
Return values
boolsetContainer()
public
static setContainer(Container $container) : void
Parameters
- $container : Container
getServiceAlias()
protected
static getServiceAlias() : string
Return values
stringgetServiceInstance()
protected
static getServiceInstance(string $alias) : mixed
Parameters
- $alias : string
isCache()
protected
static isCache() : bool