PHP Class Xpressengine\Presenter\Html\Tags\Package

Author: XE Developers ([email protected])
Afficher le fichier Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Свойство Type Description
$handler Xpressengine\Presenter\Html\FrontendHandler
$name string
$packages array

Méthodes publiques

Méthode 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 méthode

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

init() public static méthode

init
public static init ( array $packages = [] ) : void
$packages array packages
Résultat void

load() public méthode

load package
public load ( )

packages() public static méthode

packages
public static packages ( ) : array
Résultat array

register() public méthode

register package
public register ( Closure $callback ) : static
$callback Closure callback
Résultat static $this

setHandler() public static méthode

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

Property Details

$handler protected_oe static_oe property

protected static FrontendHandler,Xpressengine\Presenter\Html $handler
Résultat Xpressengine\Presenter\Html\FrontendHandler

$name protected_oe property

protected string $name
Résultat string

$packages protected_oe static_oe property

protected static array $packages
Résultat array