Class rex_extension_point

Extension Point Class.

Package: redaxo\core
Author: gharlan
Located at redaxo/src/core/lib/extension_point.php

Methods summary

public
# __construct( string $name, mixed $subject = null, array $params = [], boolean $readonly = false )

Constructor.

public string
# getName( )

Returns the name.

public
# setSubject( mixed $subject )

Sets the subject.

public mixed
# getSubject( )

Returns the subject.

public
# setParam( string $key, mixed $value )

Sets a param.

public
# setExtensionParams( array $params )

Sets the specific params for the next extension.

public boolean
# hasParam( string $key )

Returns whether the given param exists.

public mixed
# getParam( string $key, mixed $default = null )

Returns the param for the given key.

public array
# getParams( )

Returns all params.

public boolean
# isReadonly( )

Returns whether the extension point is readonly.