PHP Class OCA\Richdocuments\Controller\SessionController

Inheritance: extends OCP\AppFramework\Controller
Show file Open project: owncloud/richdocuments

Protected Properties

Property Type Description
$logger
$shareToken
$uid

Public Methods

Method Description
__construct ( $appName, OCP\IRequest $request, $logger, $uid )
join ( $fileId )
joinAsGuest ( $token, $name )
poll ( $command, $args )
pollAsGuest ( $command, $args )
save ( ) Store the document content to its origin
saveAsGuest ( ) Store the document content to its origin

Protected Methods

Method Description
loadMember ( $memberId, $expectedEsId = null )
loadSession ( $esId )
validateSession ( $session )

Method Details

__construct() public method

public __construct ( $appName, OCP\IRequest $request, $logger, $uid )
$request OCP\IRequest

join() public method

public join ( $fileId )

joinAsGuest() public method

public joinAsGuest ( $token, $name )

loadMember() protected method

protected loadMember ( $memberId, $expectedEsId = null )

loadSession() protected method

protected loadSession ( $esId )

poll() public method

public poll ( $command, $args )

pollAsGuest() public method

public pollAsGuest ( $command, $args )

save() public method

Store the document content to its origin
public save ( )

saveAsGuest() public method

Store the document content to its origin
public saveAsGuest ( )

validateSession() protected method

protected validateSession ( $session )

Property Details

$logger protected property

protected $logger

$shareToken protected property

protected $shareToken

$uid protected property

protected $uid