baserCMS クラスリファレンス

CustomContentAppHelper extends Helper
in package
Uses BcContainerTrait

CustomContentAppHelper

Table of Contents

Properties

$BcBaser  : BcBaserHelper
$helpers  : array<string|int, string>
Helper

Methods

__construct()  : mixed
Constructor
getEntryUrl()  : mixed|string
カスタムエントリーのURLを取得する
getService()  : array<string|int, mixed>|mixed|object
Get Service
hasService()  : bool
Has Service
isDisplayEntrySearch()  : bool
エントリー一覧の検索に表示するかどうか判定する
isEnableField()  : bool
フィールドが有校かどうか判定する
loadPluginHelper()  : void
プラグインのヘルパーを読み込む
searchControl()  : string
検索コントロールを取得

Properties

Methods

__construct()

Constructor

public __construct(View $view[, array<string|int, mixed> $config = [] ]) : mixed
Parameters
$view : View
$config : array<string|int, mixed> = []
Tags
checked
noTodo

getEntryUrl()

カスタムエントリーのURLを取得する

public getEntryUrl(CustomEntry $entry[, mixed $full = true ]) : mixed|string
Parameters
$entry : CustomEntry
$full : mixed = true
Tags
checked
noTodo
Return values
mixed|string

getService()

Get Service

public getService( $service) : array<string|int, mixed>|mixed|object
Parameters
$service :
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>|mixed|object

hasService()

Has Service

public hasService( $service) : bool
Parameters
$service :
Tags
checked
noTodo
unitTest
Return values
bool

isDisplayEntrySearch()

エントリー一覧の検索に表示するかどうか判定する

public isDisplayEntrySearch(CustomLink $customLink[, string $type = 'front' ]) : bool
Parameters
$customLink : CustomLink
$type : string = 'front'
Tags
checked
noTodo
Return values
bool

isEnableField()

フィールドが有校かどうか判定する

public isEnableField(CustomLink $customLink) : bool

グループフィールドで子がいない場合は無効とする

Parameters
$customLink : CustomLink
Tags
checked
noTodo
Return values
bool

loadPluginHelper()

プラグインのヘルパーを読み込む

public loadPluginHelper() : void
Tags
checked
noTodo

searchControl()

検索コントロールを取得

public searchControl(CustomLink $customLink[, array<string|int, mixed> $options = [] ]) : string
Parameters
$customLink : CustomLink
$options : array<string|int, mixed> = []
Tags
checked
noTodo
Return values
string

        
On this page

Search results