baserCMS クラスリファレンス

Plugin extends Entity
in package

Class Plugin

Table of Contents

Properties

$created  : FrozenTime|null
$db_init  : bool
$id  : int
$modified  : FrozenTime|null
$name  : string
$priority  : int
$status  : bool
$title  : string|null
$version  : string|null
$_accessible  : array<string|int, mixed>
accessible

Methods

hasType()  : bool
指定したタイプを持っているかどうか判定する
isAdminTheme()  : bool
管理画面用テーマかどうか判定する
isCorePlugin()  : bool
コアプラグインかどうか判定する
isPlugin()  : bool
プラグインかどうか判定する
isTheme()  : bool
テーマかどうか判定する

Properties

$created

public FrozenTime|null $created

$modified

public FrozenTime|null $modified

$version

public string|null $version

$_accessible

accessible

protected array<string|int, mixed> $_accessible = ['name' => true, 'title' => true, 'type' => true, 'version' => true, 'status' => true, 'db_init' => true, 'priority' => true, 'modified' => true, 'created' => true, 'update' => true, 'core' => true, 'registered' => true, 'description' => true, 'author' => true, 'url' => true, 'permission' => true, 'installMessage' => true, 'adminLink' => true, 'screenshot' => true]

Methods

hasType()

指定したタイプを持っているかどうか判定する

public hasType( $types) : bool
Parameters
$types :
Tags
checked
noTodo
Return values
bool

isAdminTheme()

管理画面用テーマかどうか判定する

public isAdminTheme() : bool
Tags
checked
noTodo
Return values
bool

isCorePlugin()

コアプラグインかどうか判定する

public isCorePlugin() : bool
Tags
checked
noTodo
Return values
bool

isPlugin()

プラグインかどうか判定する

public isPlugin() : bool
Tags
checked
noTodo
Return values
bool

isTheme()

テーマかどうか判定する

public isTheme() : bool
Tags
checked
noTodo
Return values
bool

        
On this page

Search results