PHP Class Xpressengine\Permission\Instance

Author: XE Developers ([email protected])
Show file Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$name string The permission name
$siteKey string The key name for site

Public Methods

Method Description
__construct ( string $name, string $siteKey = 'default' ) Instance constructor.
getName ( ) : string Get the permission name
getSiteKey ( ) : string Get the site key name

Method Details

__construct() public method

Instance constructor.
public __construct ( string $name, string $siteKey = 'default' )
$name string permission name
$siteKey string site key

getName() public method

Get the permission name
public getName ( ) : string
return string

getSiteKey() public method

Get the site key name
public getSiteKey ( ) : string
return string

Property Details

$name protected property

The permission name
protected string $name
return string

$siteKey protected property

The key name for site
protected string $siteKey
return string