PHP Class Xpressengine\Permission\Instance

Author: XE Developers ([email protected])
Mostrar archivo 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_oe property

The permission name
protected string $name
return string

$siteKey protected_oe property

The key name for site
protected string $siteKey
return string