TemplateFunctionBase
extends TemplatePluginBase
in package
implements
ITemplateFunction
AbstractYes
Table of Contents
Interfaces
- ITemplateFunction
- smarty 関数
Properties
- $argument : TemplatePluginArgument
- $params : array<string, string>
- Undocumented variable
- $smartyTemplate : Template
Methods
- functionBody() : string
- 関数処理出力。
- __construct() : mixed
- existsError() : bool
- existsSmartyError() : bool
- エラーが存在するか。
- existsSmartyValues() : bool
- existsValues() : bool
- functionBodyImpl() : string
- getErrors() : array<string, array<string|int, string>>
- Undocumented function
- getSmartyErrors() : array<string, array<string|int, string>>
- Undocumented function
- getSmartyValues() : array<string, string|array<string|int, string>|bool|int|object>
- Undocumented function
- getValues() : array<string, string|array<string|int, string>|bool|int|object>
- Undocumented function
Properties
$argument
protected
TemplatePluginArgument
$argument
$params
Undocumented variable
protected
array<string, string>
$params
$smartyTemplate
protected
Template
$smartyTemplate
Methods
functionBody()
関数処理出力。
public
functionBody(array<string|int, mixed> $params, Template $smartyTemplate) : string
Parameters
- $params : array<string|int, mixed>
- $smartyTemplate : Template
Return values
string —HTML
__construct()
protected
__construct(TemplatePluginArgument $argument) : mixed
Parameters
- $argument : TemplatePluginArgument
existsError()
protected
existsError() : bool
Return values
boolexistsSmartyError()
エラーが存在するか。
protected
existsSmartyError(Template $smartyTemplate) : bool
Parameters
- $smartyTemplate : Template
Return values
boolexistsSmartyValues()
protected
existsSmartyValues(Template $smartyTemplate) : bool
Parameters
- $smartyTemplate : Template
Return values
boolexistsValues()
protected
existsValues() : bool
Return values
boolfunctionBodyImpl()
protected
abstract functionBodyImpl() : string
Return values
stringgetErrors()
Undocumented function
protected
getErrors() : array<string, array<string|int, string>>
Return values
array<string, array<string|int, string>>getSmartyErrors()
Undocumented function
protected
getSmartyErrors(Template $smartyTemplate) : array<string, array<string|int, string>>
Parameters
- $smartyTemplate : Template
Return values
array<string, array<string|int, string>>getSmartyValues()
Undocumented function
protected
getSmartyValues(Template $smartyTemplate) : array<string, string|array<string|int, string>|bool|int|object>
Parameters
- $smartyTemplate : Template
Return values
array<string, string|array<string|int, string>|bool|int|object>getValues()
Undocumented function
protected
getValues() : array<string, string|array<string|int, string>|bool|int|object>