PHP Class Ezuri

Author: Roni Kumar Saha ([email protected])
Datei anzeigen Open project: xiidea/ezrbac

Public Methods

Method Description
RbacParam ( ) : array Return the $_rbac_param array
RbacUri ( string $uri = "" ) : string Create/Convert a uri to rbac specific uri
RbacUrl ( string $uri = "" ) : mixed Create/Convert a uri to rbac specific URL
__construct ( ) Constructor function
assets_url ( string $uri = "" ) : boolean return the assets access url direct/with media library!
isRbacUrl ( ) : boolean Check if current url is a Rbac Specific url or not
logout ( ) : string return the logout url
rsegment_array ( integer $n ) : array Return the rbac specific segment array after all routing
ruri_string ( string $separator = "/" ) : string get rbac specific uri string after routing done!

Method Details

RbacParam() public method

Return the $_rbac_param array
public RbacParam ( ) : array
return array

RbacUri() public method

Create/Convert a uri to rbac specific uri
public RbacUri ( string $uri = "" ) : string
$uri string
return string

RbacUrl() public method

Create/Convert a uri to rbac specific URL
public RbacUrl ( string $uri = "" ) : mixed
$uri string
return mixed

__construct() public method

Constructor function
public __construct ( )

assets_url() public method

return the assets access url direct/with media library!
public assets_url ( string $uri = "" ) : boolean
$uri string
return boolean

isRbacUrl() public method

Check if current url is a Rbac Specific url or not
public isRbacUrl ( ) : boolean
return boolean

logout() public method

return the logout url
public logout ( ) : string
return string

rsegment_array() public method

Return the rbac specific segment array after all routing
public rsegment_array ( integer $n ) : array
$n integer
return array

ruri_string() public method

get rbac specific uri string after routing done!
public ruri_string ( string $separator = "/" ) : string
$separator string
return string