PHP Class Scalr\Model\Entity\RoleCategory

Since: 5.4.0 (05.03.2015)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Model\AbstractEntity, implements Scalr\DataType\ScopeInterface, implements Scalr\DataType\AccessPermissionsInterface
Afficher le fichier Open project: scalr/scalr Class Usage Examples

Méthodes publiques

Свойство Type Description
$accountId integer The identifier of the client's account
$envId integer The identifier of the Environment
$id integer Identifier of the Role Category
$name string The name of the Role Category

Méthodes publiques

Méthode Description
getScope ( )
getUsed ( ) : integer | false Returns category usage
hasAccessPermissions ( $user, $environment = null, $modify = null )

Method Details

getScope() public méthode

See also: Scalr\DataType\ScopeInterface::getScope()
public getScope ( )

getUsed() public méthode

Returns category usage
public getUsed ( ) : integer | false
Résultat integer | false Number of roles using this category or false

hasAccessPermissions() public méthode

See also: Scalr\DataType\AccessPermissionsInterface::hasAccessPermissions()
public hasAccessPermissions ( $user, $environment = null, $modify = null )

Property Details

$accountId public_oe property

The identifier of the client's account
public int $accountId
Résultat integer

$envId public_oe property

The identifier of the Environment
public int $envId
Résultat integer

$id public_oe property

Identifier of the Role Category
public int $id
Résultat integer

$name public_oe property

The name of the Role Category
public string $name
Résultat string