\rex_extension_point_art_content_updated

Extension Point Class.

Summary

Methods
Properties
Constants
__construct()
getName()
setSubject()
getSubject()
setParam()
setExtensionParams()
hasParam()
getParam()
getParams()
isReadonly()
getArticle()
getAction()
No public properties found
NAME
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

NAME

NAME = 'ART_CONTENT_UPDATED'

Methods

__construct()

__construct(\rex_article  $article, string  $action, mixed  $subject = null, array  $params = [], mixed  $readonly = false) : mixed

Constructor.

Parameters

\rex_article $article
string $action
mixed $subject
array $params
mixed $readonly

Returns

mixed —

getName()

getName() : string

Returns the name.

Returns

string —

setSubject()

setSubject(mixed  $subject) : mixed

Sets the subject.

Parameters

mixed $subject

Throws

\rex_exception

Returns

mixed —

getSubject()

getSubject() : mixed

Returns the subject.

Returns

mixed —

setParam()

setParam(string  $key, mixed  $value) : mixed

Sets a param.

Parameters

string $key
mixed $value

Throws

\rex_exception

Returns

mixed —

setExtensionParams()

setExtensionParams(array  $params) : mixed

Sets the specific params for the next extension.

Parameters

array $params

Returns

mixed —

hasParam()

hasParam(string  $key) : bool

Returns whether the given param exists.

Parameters

string $key

Returns

bool —

getParam()

getParam(string  $key, mixed  $default = null) : mixed

Returns the param for the given key.

Parameters

string $key
mixed $default

Returns

mixed —

getParams()

getParams() : array

Returns all params.

Returns

array —

isReadonly()

isReadonly() : bool

Returns whether the extension point is readonly.

Returns

bool —

getArticle()

getArticle() : \rex_article

Returns

\rex_article —

getAction()

getAction() : string

Returns

string —