Class ZmTaskTreeController
Extends
ZmFolderTreeController.
This class represents the task tree controller.
Defined in: ZmTaskTreeController.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates the task tree controller.
|
Method Summary
Method Attributes |
Method Name and Description |
|
Gets the task Folders.
|
|
Displays the tree of this type.
|
|
Returns a string representation of the object.
|
- Methods borrowed from class ZmFolderTreeController:
- resetOperations
- Methods borrowed from class ZmTreeController:
- clearTreeView, dispose, getDataTree, getDropTarget, getTreeView
- Methods borrowed from class ZmController:
- getApp, getCurrentViewId, getCurrentViewType, getKeyMapName, getNewFolderCallback, getSessionId, getTabGroup, getViewElements, handleKeyAction, isTransient, mapSupported, popupErrorDialog, popupUploadErrorDialog, setCurrentViewId, setCurrentViewType, setSessionId
Class Detail
ZmTaskTreeController()
Creates the task tree controller.
Method Detail
{Array}
getTaskFolders(overviewId, includeTrash)
Gets the task Folders.
- Parameters:
-
{String} overviewId
- the overview id
-
{boolean} includeTrash
- True to include trash, if checked.
- Returns:
- {Array} an array of ZmCalendar objects
show(params)
Displays the tree of this type.
- Parameters:
-
{Hash} params
- a hash of parameters
-
{constant} params.overviewId
- the overview ID
-
{Boolean} params.showUnread
- if
true , unread counts will be shown
-
{Object} params.omit
- a hash of organizer IDs to ignore
-
{Object} params.include
- a hash of organizer IDs to include
-
{Boolean} params.forceCreate
- if
true , tree view will be created
-
{String} params.app
- the app that owns the overview
-
{Boolean} params.hideEmpty
- if
true , don't show header if there is no data
-
{Boolean} params.noTooltips
- if
true , don't show tooltips for tree items
{String}
toString()
Returns a string representation of the object.
- Returns:
- {String} a string representation of the object
|