ExtensionBase
Extension class
Allows for "Private traits"
class Winter\Storm\Extension\ExtensionBase
Traits
Trait | Description |
---|---|
ExtensionTrait
|
Extension trait |
Properties
inherited
public
static
$extendableStaticCalledClass
:
string
= null
Inherited from
ExtensionTrait
The calling class when using a static method.
inherited
protected
static
$extensionCallbacks
:
array
= []
Inherited from
ExtensionTrait
Used to extend the constructor of an extension class. Eg:
BehaviorClass::extend(function($obj) { })
inherited
protected
$extensionHidden
:
mixed
= {"fields":[],"methods":["extensionIsHiddenField","extensionIsHiddenMethod"]}
Inherited from
ExtensionTrait
Methods
public static extend (callable $callback)
Parameters
Property | Type | Description |
---|---|---|
$callback | callable |
callable
|
Returns
mixed
inherited public extensionApplyInitCallbacks ()
Inherited from
ExtensionTrait
Returns
mixed
inherited public static extensionExtendCallback (callable $callback) : void
Inherited from
ExtensionTrait
Helper method for ::extend()
static method
Parameters
Property | Type | Description |
---|---|---|
$callback | callable |
callable
|
Returns
void
inherited public extensionIsHiddenField ($name)
Inherited from
ExtensionTrait
Parameters
Property | Type | Description |
---|---|---|
$name | mixed |
mixed
|
Returns
mixed
inherited public extensionIsHiddenMethod ($name)
Inherited from
ExtensionTrait
Parameters
Property | Type | Description |
---|---|---|
$name | mixed |
mixed
|
Returns
mixed
inherited public static getCalledExtensionClass ()
Inherited from
ExtensionTrait
Returns
mixed
inherited protected extensionHideField ($name)
Inherited from
ExtensionTrait
Parameters
Property | Type | Description |
---|---|---|
$name | mixed |
mixed
|
Returns
mixed
inherited protected extensionHideMethod ($name)
Inherited from
ExtensionTrait
Parameters
Property | Type | Description |
---|---|---|
$name | mixed |
mixed
|
Returns
mixed
Extended by
Class | Description |
---|---|
ControllerBehavior
|
Controller Behavior base class |
Encryptable
|
Encryptable model behavior |
Purgeable
|
|
Sortable
|
Sortable model behavior |
ModelBehavior
|
Base class for model behaviors. |
← Previous page
Winter\Storm\Extension\ExtendableTrait
Next page →
Winter\Storm\Extension\ExtensionTrait
Copyright © 2024 Winter CMS