Skip to content

List Class

Luis edited this page Feb 23, 2019 · 10 revisions

Functions

string GetId()

Returns the id of the List.


table GetData( string suffix)

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


string GetName()

Returns the name of the list.


Board GetBoard()

Returns the list's board as a Board object.


bool isSubscribed()

Returns whether the user is subscribed to the list.


bool isClosed()

Returns whether the list is closed (archived).


table GetCards()

Returns a table of Card objects, with numerical indexes.


int GetPosition()

Returns the position of the list in the board.


Card GetCardByName( string name)

Returns the first card which name matches the argument.


string ClassName()

Returns "List"


void SetProperty( string property, Variant value)

Sets properties on the list.
This function is used by other functions.
The usage of this function is discouraged.


void SetName( string name)

Sets the name of the list.


void Move( Board board)

Moves the list to the specified board.