Navigation
in package
Uses
StaticTrait
Table of Contents
- $instance : mixed
- Instance object.
- __callStatic() : mixed
- Add support for magic static method calls.
- _i() : mixed
- _instance() : mixed
- addHeader() : $this
- addHeaderNotl() : $this
- addNav() : $this
- addNavAllow() : $this
- addNavExternal() : $this
- addNavNotl() : $this
- blockLink() : $this
- forestNav() : void
- graveyardNav() : void
- instance() : mixed
- Set/get a instance of object.
- setTextDomain() : $this
- superuser() : void
- unBlockLink() : $this
- villageNav() : void
Properties
$instance
Instance object.
protected
static mixed
$instance
Methods
__callStatic()
Add support for magic static method calls.
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
Return values
mixed —the returned value from the resolved method
_i()
public
static _i() : mixed
Return values
mixed —_instance()
public
static _instance() : mixed
Return values
mixed —addHeader()
public
static addHeader(string $header, array<string|int, mixed> $options = []) : $this
Parameters
- $header : string
- $options = [] : array<string|int, mixed>
Return values
$this —addHeaderNotl()
public
static addHeaderNotl(string $header, array<string|int, mixed> $options = []) : $this
Parameters
- $header : string
- $options = [] : array<string|int, mixed>
Return values
$this —addNav()
public
static addNav(string|null $label, string|null $link = null, array<string|int, mixed> $options = []) : $this
Parameters
- $label : string|null
- $link = null : string|null
- $options = [] : array<string|int, mixed>
Return values
$this —addNavAllow()
public
static addNavAllow(string $link) : $this
Parameters
- $link : string
Return values
$this —addNavExternal()
public
static addNavExternal(string|null $label, string|null $link = null, array<string|int, mixed> $options = []) : $this
Parameters
- $label : string|null
- $link = null : string|null
- $options = [] : array<string|int, mixed>
Return values
$this —addNavNotl()
public
static addNavNotl(string|null $label, string|null $link = null, array<string|int, mixed> $options = []) : $this
Parameters
- $label : string|null
- $link = null : string|null
- $options = [] : array<string|int, mixed>
Return values
$this —blockLink()
public
static blockLink(string $link) : $this
Parameters
- $link : string
Return values
$this —forestNav()
public
static forestNav(string $translationDomain) : void
Parameters
- $translationDomain : string
Return values
void —graveyardNav()
public
static graveyardNav(string $translationDomain) : void
Parameters
- $translationDomain : string
Return values
void —instance()
Set/get a instance of object.
public
static instance(mixed $instance) : mixed
Parameters
- $instance : mixed
Return values
mixed —setTextDomain()
public
static setTextDomain(string|null $domain = null) : $this
Parameters
- $domain = null : string|null
Return values
$this —superuser()
public
static superuser() : void
Return values
void —unBlockLink()
public
static unBlockLink(string $link) : $this
Parameters
- $link : string
Return values
$this —villageNav()
public
static villageNav(mixed $extra) : void
Parameters
- $extra : mixed