Trait HooksTrait
Namespace: oroboros\core\traits\utilities\hooks
Author: Brian Dayhoff mopsyd@me.com
Located at core/traits/utilities/hooks/HooksTrait.php
Author: Brian Dayhoff mopsyd@me.com
Located at core/traits/utilities/hooks/HooksTrait.php
Methods summary
protected
array
|
|
protected
|
#
_replaceHooks( string $content, array $hooks = array() )
Replaces the specified hooks with the supplied content for them. |
protected
|
Properties summary
private
string
|
$_hook_pattern
|
#
'@\[\:\:[a-zA-Z0-9\-]{1,}[^\-]\:\:\]@'
|
private
string
|
$_function_hook_pattern
|
#
'@\[\:\:(([a-zA-Z0-9]){1,}\-?){1,}\[(([a-zA-Z0-9_\-\/\:\?\&\=\#\.\;]){0,},?\s?){0,4}(([a-zA-Z0-9_\-\/\:\?\&\=\#\.\;]){0,},?\s?){0,1}\]\:\:\]@'
|