IManager
Interface IManager
Tags
Table of Contents
- cleanup() : int
- Cleanup expired tokens
- create() : string
- Create a new token based on the file path and editor details
- edit() : Response
- Open the editing page for a provided token
- getToken() : IToken
- Get the token details for a given token
- registerDirectEditor() : void
- Register a new editor
Methods
cleanup()
Cleanup expired tokens
public
cleanup() : int
Tags
Return values
int —number of deleted tokens
create()
Create a new token based on the file path and editor details
public
create(string $path, string $editorId, string $creatorId[, null $templateId = null ]) : string
Parameters
- $path : string
- $editorId : string
- $creatorId : string
- $templateId : null = null
Tags
Return values
string —edit()
Open the editing page for a provided token
public
edit(string $token) : Response
Parameters
- $token : string
Tags
Return values
Response —getToken()
Get the token details for a given token
public
getToken(string $token) : IToken
Parameters
- $token : string
Tags
Return values
IToken —registerDirectEditor()
Register a new editor
public
registerDirectEditor(IEditor $directEditor) : void
Parameters
- $directEditor : IEditor