PHP Class Pimcore\Model\User\Permission\Definition

Inheritance: extends Pimcore\Model\AbstractModel
Show file Open project: pimcore/pimcore

Public Properties

Property Type Description
$key

Public Methods

Method Description
__construct ( $data = [] )
create ( $permission ) : mixed | static
getByKey ( $permission ) : mixed
getKey ( ) : string
setKey ( $key )

Method Details

__construct() public method

public __construct ( $data = [] )

create() public static method

public static create ( $permission ) : mixed | static
$permission
return mixed | static

getByKey() public static method

public static getByKey ( $permission ) : mixed
$permission
return mixed

getKey() public method

public getKey ( ) : string
return string

setKey() public method

public setKey ( $key )
$key

Property Details

$key public property

public $key