\FAA\Plugin\TrelloTrelloCurl

Summary

Methods
Properties
Constants
__construct()
CreateCardHook()
DeleteCard()
DeleteBoard()
UpdateBoard()
CreateCard()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
addCredentials()
$task
$config
$host
$url
N/A

Properties

$task

$task :\FAA\Obj\Generic\TaskProject

The single task

Type

\FAA\Obj\Generic\TaskProject

$config

$config :\stdClass

The project configuration

Type

\stdClass

$host

$host :string

The host of this handler

Type

string

$url

$url :string

Buffer for url

Type

string

Methods

__construct()

__construct(\FAA\Obj\Generic\TaskProject  $task)

Trello Curl constructor.

Parameters

\FAA\Obj\Generic\TaskProject $task

The linked task

CreateCardHook()

CreateCardHook(  $id,  $internal_id): \FAA\Obj\Result

Create a card hook for update calls

Parameters

$id
$internal_id

Returns

\FAA\Obj\Result

DeleteCard()

DeleteCard(integer  $card_id,boolean  $soft = false): \FAA\Obj\Result

Delete a single card

Parameters

integer $card_id
boolean $soft

When true the card is closed instead of being deleted

Returns

\FAA\Obj\Result

DeleteBoard()

DeleteBoard(boolean  $soft = false): \FAA\Obj\Result

Close or archive a board

Parameters

boolean $soft

Returns

\FAA\Obj\Result

UpdateBoard()

UpdateBoard(): \FAA\Obj\Result

Update a board name

Returns

\FAA\Obj\Result

CreateCard()

CreateCard(\FAA\Obj\Generic\Task  $task,integer  $id): \FAA\Obj\Result

Create a card in the project main list

Parameters

\FAA\Obj\Generic\Task $task

The task base object

integer $id

The relation id

Returns

\FAA\Obj\Result —

The create result

addCredentials()

addCredentials()