Documentation

Site

Table of Contents

crrentPage()  : string
Return Current Page.
getBase()  : string
Get script path like example.com/login.
getFirstSegment()  : string
Get first item segment.
getUri()  : string
Get script path like example.com/login.
redirect()  : void
Redirect to another page.
salts()  : string
Generate salts.
segmentUrl()  : string
Get all URL parts based on a / seperator.
setLastSegment()  : string
Get last item segment.
siteBaseUrl()  : string
Return site base URL.
siteUrl()  : string
Return site URL.
previous()  : void
Go to the previous URL.
requestInstance()  : object
Get the Request instance.

Methods

crrentPage()

Return Current Page.

public static crrentPage() : string
Tags
since
1.0.0
Return values
string

getBase()

Get script path like example.com/login.

public static getBase() : string
Tags
since
1.0.0
Return values
string

getFirstSegment()

Get first item segment.

public static getFirstSegment((mixed) $segments) : string
Parameters
$segments : (mixed)

Url segments.

Tags
since
1.0.0
Return values
string

getUri()

Get script path like example.com/login.

public static getUri() : string
Tags
since
1.0.0
Return values
string

redirect()

Redirect to another page.

public static redirect([(string) $url = null ]) : void
Parameters
$url : (string) = null

url to be redirected.

Tags
since
1.0.0
Return values
void

salts()

Generate salts.

public static salts((int) $length[, (bool) $special = false ]) : string
Parameters
$length : (int)

Length of salts.

$special : (bool) = false

Should special chars include or not.

Tags
since
1.0.0
Return values
string

segmentUrl()

Get all URL parts based on a / seperator.

public static segmentUrl([(string) $url = null ]) : string
Parameters
$url : (string) = null

URI to segment.

Tags
since
1.0.0
Return values
string

setLastSegment()

Get last item segment.

public static setLastSegment((mixed) $segments) : string
Parameters
$segments : (mixed)

Url segments.

Tags
since
1.0.0
Return values
string

siteBaseUrl()

Return site base URL.

public static siteBaseUrl() : string
Tags
since
1.0.0
Return values
string

siteUrl()

Return site URL.

public static siteUrl() : string
Tags
since
1.0.0
Return values
string

previous()

Go to the previous URL.

private static previous() : void
Tags
since
1.0.0
Return values
void

requestInstance()

Get the Request instance.

private static requestInstance() : object
Tags
since
1.0.0
Return values
object

Search results