PHP Class Imbo\Model\AccessRule

Author: Christer Edvartsen ([email protected])
Inheritance: implements Imbo\Model\ModelInterface
Mostra file Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
getData ( )
getGroup ( ) : string Get the group
getId ( ) : integer Get the ID
getResources ( ) : string[] Get the resources
getUsers ( ) : string[] Get the users
setGroup ( string $group ) : self Set the group
setId ( integer $id ) : self Set the ID
setResources ( array $resources ) : self Set the resources
setUsers ( array $users ) : self Set the users

Method Details

getData() public method

public getData ( )

getGroup() public method

Get the group
public getGroup ( ) : string
return string

getId() public method

Get the ID
public getId ( ) : integer
return integer

getResources() public method

Get the resources
public getResources ( ) : string[]
return string[]

getUsers() public method

Get the users
public getUsers ( ) : string[]
return string[]

setGroup() public method

Set the group
public setGroup ( string $group ) : self
$group string
return self

setId() public method

Set the ID
public setId ( integer $id ) : self
$id integer
return self

setResources() public method

Set the resources
public setResources ( array $resources ) : self
$resources array
return self

setUsers() public method

Set the users
public setUsers ( array $users ) : self
$users array
return self