PHP Class Xpressengine\Presenter\Html\Tags\Package

Author: XE Developers ([email protected])
Mostra file Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$handler Xpressengine\Presenter\Html\FrontendHandler
$name string
$packages array

Public Methods

Method Description
__construct ( string $name ) Package constructor.
init ( array $packages = [] ) : void init
load ( ) load package
packages ( ) : array packages
register ( Closure $callback ) : static register package
setHandler ( FrontendHandler $handler ) : void set handler

Method Details

__construct() public method

Package constructor.
public __construct ( string $name )
$name string name

init() public static method

init
public static init ( array $packages = [] ) : void
$packages array packages
return void

load() public method

load package
public load ( )

packages() public static method

packages
public static packages ( ) : array
return array

register() public method

register package
public register ( Closure $callback ) : static
$callback Closure callback
return static $this

setHandler() public static method

set handler
public static setHandler ( FrontendHandler $handler ) : void
$handler Xpressengine\Presenter\Html\FrontendHandler frontend handler
return void

Property Details

$handler protected_oe static_oe property

protected static FrontendHandler,Xpressengine\Presenter\Html $handler
return Xpressengine\Presenter\Html\FrontendHandler

$name protected_oe property

protected string $name
return string

$packages protected_oe static_oe property

protected static array $packages
return array