Method Naming

Flourish uses some standards in method names to help developers easily identify functionality without having to review the documentation. Below is a list of verbs and their connotations in Flourish code:

add: assigns a value that allows multiple

check: returns a boolean

enable: turn a feature on (or possibly off)

encode: returns a value that is safe for output into the appropriate format

extend: add functionality to a class

get: returns a value

is: returns a boolean

prepare: returns a value that is safe for output into HTML, should only be used with trusted content