PHP Class OCA\Richdocuments\Db\Session

Inheritance: extends OCA\Richdocuments\Db
Afficher le fichier Open project: owncloud/richdocuments Class Usage Examples

Protected Properties

Свойство Type Description
$insertStatement
$loadStatement
$tableName

Méthodes publiques

Méthode Description
cleanUp ( $esId )
getInfo ( $esId )
insert ( )
start ( string $uid, File $file ) : array Start a editing session or return an existing one
syncOps ( $memberId, $currentHead, $clientHead, $clientOps )
updateGenesisHash ( $esId, $genesisHash )

Méthodes protégées

Méthode Description
getUniqueSessionId ( )

Method Details

cleanUp() public static méthode

public static cleanUp ( $esId )

getInfo() public méthode

public getInfo ( $esId )

getUniqueSessionId() protected méthode

protected getUniqueSessionId ( )

insert() public méthode

public insert ( )

start() public static méthode

Start a editing session or return an existing one
public static start ( string $uid, File $file ) : array
$uid string of the user starting a session
$file OCA\Richdocuments\File - file object
Résultat array

syncOps() public méthode

public syncOps ( $memberId, $currentHead, $clientHead, $clientOps )

updateGenesisHash() public méthode

public updateGenesisHash ( $esId, $genesisHash )

Property Details

$insertStatement protected_oe property

protected $insertStatement

$loadStatement protected_oe property

protected $loadStatement

$tableName protected_oe property

protected $tableName