Skip to content

Board Class

Luis edited this page Jan 30, 2019 · 11 revisions

Functions

string GetId()

Returns the id of the board.


table GetData( string suffix)

Returns data about the board.
This function is used by other functions.
The usage of this function is discouraged.


string GetUrl()

Returns the full URL of the board.


string GetShortUrl()

Returns the short URL of the board.


string GetName()

Returns the name of the board.


string GetDesc()

Returns the description of the board.


bool isClosed()

Returns whether the board is closed (archived).


table GetLists()

Returns a table of List objects, with numerical indexes.


table GetCards()

Returns a table of Card objects, with numerical indexes.


List GetListByName( string name)

Returns the first list which name matches the argument.


Card GetCardByName( string name)

Returns the first card which name matches the argument.


string ClassName()

Returns "Board"


void SetProperty( string property, Variant value)

Sets the Board's properties.
This function is used by other functions.
The usage of this function is discouraged.


void SetName( string name)

Renames the board.


void SetDesc( string desc)

Sets the description of the board.


void SetClosed( bool closed)

Opens or closes (archiving) the board.


void Delete()

Deletes the board.
NOT REVERSIBLE!