rex_extension_point_art_content_updated
extends rex_extension_point
in package
Extension Point Class.
Tags
Table of Contents
Constants
- NAME = 'ART_CONTENT_UPDATED'
Methods
- __construct() : mixed
- getAction() : string
- getArticle() : rex_article
- getName() : string
- Returns the name.
- getParam() : mixed
- Returns the param for the given key.
- getParams() : array<string, mixed>
- Returns all params.
- getSubject() : T
- Returns the subject.
- hasParam() : bool
- Returns whether the given param exists.
- isReadonly() : bool
- Returns whether the extension point is readonly.
- setExtensionParams() : void
- Sets the specific params for the next extension.
- setParam() : void
- Sets a param.
- setSubject() : void
- Sets the subject.
Constants
NAME
public
mixed
NAME
= 'ART_CONTENT_UPDATED'
Methods
__construct()
public
__construct(rex_article $article, string $action[, string $subject = '' ][, array<string, mixed> $params = [] ][, bool $readonly = false ]) : mixed
Parameters
- $article : rex_article
- $action : string
- $subject : string = ''
- $params : array<string, mixed> = []
- $readonly : bool = false
getAction()
public
getAction() : string
Return values
stringgetArticle()
public
getArticle() : rex_article
Return values
rex_articlegetName()
Returns the name.
public
getName() : string
Return values
stringgetParam()
Returns the param for the given key.
public
getParam(string $key[, mixed $default = null ]) : mixed
Parameters
- $key : string
- $default : mixed = null
getParams()
Returns all params.
public
getParams() : array<string, mixed>
Return values
array<string, mixed>getSubject()
Returns the subject.
public
getSubject() : T
Return values
ThasParam()
Returns whether the given param exists.
public
hasParam(string $key) : bool
Parameters
- $key : string
Return values
boolisReadonly()
Returns whether the extension point is readonly.
public
isReadonly() : bool
Return values
boolsetExtensionParams()
Sets the specific params for the next extension.
public
setExtensionParams(array<string, mixed> $params) : void
Parameters
- $params : array<string, mixed>
setParam()
Sets a param.
public
setParam(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed
Tags
setSubject()
Sets the subject.
public
setSubject(T $subject) : void
Parameters
- $subject : T