PHP Class Prose\UsingRolesTable

Inheritance: extends Prose
Afficher le fichier Open project: datasift/storyplayer

Protected Properties

Свойство Type Description
$entryKey string entryKey The key that this table interacts with in the RuntimeConfig

Méthodes publiques

Méthode Description
addHostToRole ( object $hostDetails, string $roleName ) : void addHost
removeHostFromAllRoles ( $hostId )
removeHostFromRole ( string $hostId, string $roleName ) : void removeRole

Method Details

addHostToRole() public méthode

addHost
public addHostToRole ( object $hostDetails, string $roleName ) : void
$hostDetails object Details about the host to add to the role
$roleName string Role name to add
Résultat void

removeHostFromAllRoles() public méthode

public removeHostFromAllRoles ( $hostId )

removeHostFromRole() public méthode

removeRole
public removeHostFromRole ( string $hostId, string $roleName ) : void
$hostId string ID of the host to remove
$roleName string Role name to remove
Résultat void

Property Details

$entryKey protected_oe property

entryKey The key that this table interacts with in the RuntimeConfig
protected string $entryKey
Résultat string