Controller class for the dashboard.
updateLeftLinks:
Expected arguments: Map<String, String=""> mapOfItems
Return type: String
Returns the left panes html.
getCurrentFirstYears:
Expected arguments: Map<String, User=""> allUsers
Return type: Map<String, User="">
Returns all the first year users
getCurrentSecondYears:
Expected arguments: Map<String, User=""> allUsers
Return type: Map<String, User="">
Returns all the second year users
getAdmins:
Expected arguments: Map<String, User=""> allUsers
Return type: Map<String, User="">
Returns all the admin users
getInactiveUsers:
Expected arguments: Map<String, User=""> allUsers
Return type: Map<String, User="">
Returns all the inactive users
__getCurrentYear:_
Return type: String
Static method that returns the current year
__getLastYear:_
Return type: String
Static method that returns the last year
__getTwoYearsAgo:_
Return type: String
Static method that returns the year two years ago
__getCurrentMonth:_
Return type: String
Static method that returns the current month
getBeginningTherapies:
Expected arguments: Map<Integer, TherapyTemplate=""> allTemplates
Return type: Map<Integer, TherapyTemplate="">
Returns a map of all templates with the type Beginning
getAdvancedTherapies:
Expected arguments: Map<Integer, TherapyTemplate=""> allTemplates
Return type: Map<Integer, TherapyTemplate="">
Returns a map of all templates with the type Advanced
getTherapyDrafts:
Expected arguments: Map<Integer, TherapyTemplate=""> allTemplates
Return type: Map<Integer, TherapyTemplate="">
Returns a map of all templates with the type Draft