a-blog cms PHP API Reference

ImageUnit

Table of Contents

Methods

canBePrimaryImage()  : bool
メイン画像に設定可能な状態かどうか
getAlts()  : array<string|int, string>
メイン画像のAltを取得
getCaptions()  : array<string|int, string>
メイン画像のキャプションを取得
getPaths()  : array<string|int, string>
メイン画像のパスを取得。
isPrimaryImage()  : bool
メイン画像かどうか
setIsPrimaryImage()  : void
メイン画像かどうかを設定

Methods

canBePrimaryImage()

メイン画像に設定可能な状態かどうか

public canBePrimaryImage() : bool
Return values
bool

getAlts()

メイン画像のAltを取得

public getAlts() : array<string|int, string>
Return values
array<string|int, string>

getCaptions()

メイン画像のキャプションを取得

public getCaptions() : array<string|int, string>
Return values
array<string|int, string>

getPaths()

メイン画像のパスを取得。

public getPaths() : array<string|int, string>
Return values
array<string|int, string>

isPrimaryImage()

メイン画像かどうか

public isPrimaryImage() : bool
Return values
bool

setIsPrimaryImage()

メイン画像かどうかを設定

public setIsPrimaryImage(bool $isPrimaryImage) : void
Parameters
$isPrimaryImage : bool

        
On this page

Search results