title | footer |
---|---|
\leantime\domain\repositories\lbmcanvas |
false |
- Full name:
\leantime\domain\repositories\lbmcanvas
- Parent class: \leantime\domain\repositories\canvas
Constant | Type | Value |
---|---|---|
\leantime\domain\repositories\lbmcanvas::CANVAS_NAME |
'lbm' |
__construct - get db connection
public canvas::__construct(): \leantime\domain\repositories\unknown_type
Return Value:
getIcon() - Retrieve canvas icon
public canvas::getIcon(): string
Return Value:
Canvas icon
getDisclaimer() - Retrieve disclaimer
public canvas::getDisclaimer(): string
Return Value:
Canvas disclaimer
getCanvasTypes() - Retrieve translated canvaas items
public canvas::getCanvasTypes(): array
Return Value:
Array of data
getStatusLabels() - Retrieve translated status labels
public canvas::getStatusLabels(): array
Return Value:
Array of data
getRelatesLabels() - Retrieve translated relates labels
public canvas::getRelatesLabels(): array
Return Value:
Array of data
getDataLabels() - Retrieve translated data labels
public canvas::getDataLabels(): array
Return Value:
Array of data
public canvas::getAllCanvas(mixed $projectId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
public canvas::getSingleCanvas(mixed $canvasId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
canvasId |
mixed |
Return Value:
public canvas::deleteCanvas(mixed $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed |
Return Value:
public canvas::addCanvas(mixed $values): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
values |
mixed |
Return Value:
public canvas::updateCanvas(mixed $values): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
values |
mixed |
Return Value:
public canvas::editCanvasItem(mixed $values): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
values |
mixed |
Return Value:
public canvas::patchCanvasItem(mixed $id, mixed $params): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed | |
params |
mixed |
Return Value:
public canvas::getCanvasItemsById(mixed $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed |
Return Value:
public canvas::getSingleCanvasItem(mixed $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed |
Return Value:
public canvas::addCanvasItem(mixed $values): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
values |
mixed |
Return Value:
public canvas::delCanvasItem(mixed $id): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
id |
mixed |
Return Value:
public canvas::getNumberOfCanvasItems(mixed $projectId = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
public canvas::getNumberOfBoards(mixed $projectId = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
mixed |
Return Value:
existCanvas - return if a canvas exists with a given title in the specified project
public canvas::existCanvas(int $projectId, string $canvasTitle): bool
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
int | Project identifier |
canvasTitle |
string | Canvas title |
Return Value:
True if canvas exists
public canvas::copyCanvas(int $projectId, int $canvasId, int $authorId, string $canvasTitle): int
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
int | |
canvasId |
int | |
authorId |
int | |
canvasTitle |
string |
Return Value:
public canvas::mergeCanvas(int $canvasId, string $mergeId): bool
Parameters:
Parameter | Type | Description |
---|---|---|
canvasId |
int | |
mergeId |
string |
Return Value:
public canvas::getCanvasProgressCount(int $projectId, array $boards): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
int | |
boards |
array |
Return Value:
public canvas::getLastUpdatedCanvas(int $projectId, array $boards): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
int | |
boards |
array |
Return Value:
public canvas::getTags(int $projectId): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
projectId |
int |
Return Value:
Automatically generated from source code comments on 2023-02-28 using phpDocumentor