class PrintdocumentController extends BaseController

Print Document controller

Properties

static boolean $batchMode Controller is in batch mode from BaseController
static array $batchedResponses Stack for batched responses from BaseController

Methods

int
getStatusCode()

Return status code

array
getHeaders()

Return current headers

string
getPayload()

Return payload

setStatusCode(int $code)

Set status code

setHeaders(string $key, string $value)

Set header value

setPayload(string $payload)

Set payload

static 
startBatchMode()

Static method to enable batch mode return handling

static 
endBatchMode()

Static method to disable batch mode return handling

Dispatcher
indexAction()

Forwards to list action

Response
listAction()

List documents

Response
getAction(string $identifier)

Get single item by UUID or label

object
createAction()

Create new item.

Response
updateAction($uuid)

Update item

Response
deleteAction(string $uuid)

Delete action

Dispatcher
lockAction(string $uuid)

Create a non-exclusive lock on a page object. Technically InDesign handles the exclusivity of the lock.

Dispatcher
unlockAction(string $uuid)

Release non-exclusive lock

Details

in BaseController at line line 60
int getStatusCode()

Return status code

Return Value

int

in BaseController at line line 69
array getHeaders()

Return current headers

Return Value

array

in BaseController at line line 78
string getPayload()

Return payload

Return Value

string

in BaseController at line line 87
setStatusCode(int $code)

Set status code

Parameters

int $code HTTP status code

in BaseController at line line 97
setHeaders(string $key, string $value)

Set header value

Parameters

string $key Header name
string $value Header value

in BaseController at line line 106
setPayload(string $payload)

Set payload

Parameters

string $payload

in BaseController at line line 294
static startBatchMode()

Static method to enable batch mode return handling

in BaseController at line line 302
static endBatchMode()

Static method to disable batch mode return handling

at line line 22
Dispatcher indexAction()

Forwards to list action

Return Value

Dispatcher

at line line 32
Response listAction()

List documents

Return Value

Response

at line line 73
Response getAction(string $identifier)

Get single item by UUID or label

Parameters

string $identifier uuid or label

Return Value

Response

at line line 101
object createAction()

Create new item.

Return Value

object Phalcon\Response

at line line 124
Response updateAction($uuid)

Update item

Parameters

$uuid

Return Value

Response

at line line 153
Response deleteAction(string $uuid)

Delete action

Parameters

string $uuid UUID

Return Value

Response

at line line 179
Dispatcher lockAction(string $uuid)

Create a non-exclusive lock on a page object. Technically InDesign handles the exclusivity of the lock.

Parameters

string $uuid

Return Value

Dispatcher

at line line 232
Dispatcher unlockAction(string $uuid)

Release non-exclusive lock

Parameters

string $uuid

Return Value

Dispatcher