Helper
in package
Table of Contents
Methods
- hasDescendantBlogs() : bool
- 指定したブログが子孫ブログを持っているか
- isCodeExists() : array<string|int, mixed>|bool
- ブログコードの存在をチェック
- isDomain() : bool
- ライセンスされているドメインかチェック
- isValidStatus() : string|bool
- 指定したブログのステータスが設定できるか
Methods
hasDescendantBlogs()
指定したブログが子孫ブログを持っているか
public
hasDescendantBlogs(int $blogId) : bool
Parameters
- $blogId : int
Return values
boolisCodeExists()
ブログコードの存在をチェック
public
isCodeExists(string $domain, string $code[, int $bid = null ][, int $aid = null ]) : array<string|int, mixed>|bool
Parameters
- $domain : string
- $code : string
- $bid : int = null
- $aid : int = null
Return values
array<string|int, mixed>|boolisDomain()
ライセンスされているドメインかチェック
public
isDomain(string $domain, int $aid[, bool $isAlias = false ][, bool $update = false ]) : bool
Parameters
- $domain : string
- $aid : int
- $isAlias : bool = false
- $update : bool = false
Return values
boolisValidStatus()
指定したブログのステータスが設定できるか
public
isValidStatus(string $val[, bool $update = false ]) : string|bool
Parameters
- $val : string
- $update : bool = false