Authentication
Less than 1 minute
Authentication
- Full name:
\Hazaar\View\Helper\Authentication
- Parent class:
\Hazaar\View\Helper
Methods
init
public init(array $args = []): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
run
public run(\Hazaar\View $view): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$view | \Hazaar\View |
Inherited methods
__construct
Helper constructor.
final public __construct(?\Hazaar\View $view, array $args = []): mixed
- This method is final.
Parameters:
Parameter | Type | Description |
---|---|---|
$view | ?\Hazaar\View | |
$args | array |
__get
public __get(string $method): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$method | string |
initialise
public initialise(array $args = null): void
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
extendArgs
public extendArgs(array $args): void
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
set
public set(string $arg, mixed $value): void
Parameters:
Parameter | Type | Description |
---|---|---|
$arg | string | |
$value | mixed |
get
public get(string $arg): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$arg | string |
getName
public getName(): string
requires
public requires(string $helper, array $args = []): void
Parameters:
Parameter | Type | Description |
---|---|---|
$helper | string | |
$args | array |
import
public import(): void
init
public init(array $args = []): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$args | array |
run
public run(\Hazaar\View $view): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$view | \Hazaar\View |
Automatically generated on 2024-11-14