PHP Class Sulu\Component\Collaboration\Collaboration

Mostra file Open project: sulu/sulu

Public Methods

Method Description
__construct ( $connectionId, $userId, $username, $fullName, $type, $id )
getChanged ( ) : integer Returns the timestamp for the last interaction.
getConnectionId ( ) : integer Returns the connectionId for the user in this collaboration.
getFullName ( ) : string Return the full name for the user in this collaboration.
getId ( ) : mixed Returns the id of the entity the user collaborating on.
getType ( ) : string Returns the type of the entity the user is collaborating on.
getUserId ( ) : integer Returns the userId for the user in this collaboration.
getUsername ( ) : string Return the username for the user in this collaboration.
setChanged ( integer $changed ) Sets the timestamp for the last interaction.

Method Details

__construct() public method

public __construct ( $connectionId, $userId, $username, $fullName, $type, $id )

getChanged() public method

Returns the timestamp for the last interaction.
public getChanged ( ) : integer
return integer

getConnectionId() public method

Returns the connectionId for the user in this collaboration.
public getConnectionId ( ) : integer
return integer

getFullName() public method

Return the full name for the user in this collaboration.
public getFullName ( ) : string
return string

getId() public method

Returns the id of the entity the user collaborating on.
public getId ( ) : mixed
return mixed

getType() public method

Returns the type of the entity the user is collaborating on.
public getType ( ) : string
return string

getUserId() public method

Returns the userId for the user in this collaboration.
public getUserId ( ) : integer
return integer

getUsername() public method

Return the username for the user in this collaboration.
public getUsername ( ) : string
return string

setChanged() public method

Sets the timestamp for the last interaction.
public setChanged ( integer $changed )
$changed integer