Zimlet JavaScript API Reference - ZmAttachmentTypeList

Class ZmAttachmentTypeList


Extends ZmModel.

This class represents attachment types.

Defined in: ZmAttachmentTypeList.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates an attachment type list
Method Summary
Method Attributes Method Name and Description
<static>  
ZmAttachmentTypeList.compareEntry(a, b)
Compares attachment type lists by description.
 
Gets the attachments.
 
load(callback)
Loads the attachments.
Methods borrowed from class ZmModel:
addChangeListener, removeAllChangeListeners, removeChangeListener
Class Detail
ZmAttachmentTypeList()
Creates an attachment type list
Method Detail
<static> {int} ZmAttachmentTypeList.compareEntry(a, b)
Compares attachment type lists by description.
Parameters:
{ZmAttachmentTypeList} a
the first entry
{ZmAttachmentTypeList} b
the first entry
Returns:
{int} 0 if the entries match; 1 if "a" is before "b"; -1 if "b" is before "a"

{Array} getAttachments()
Gets the attachments.
Returns:
{Array} an array of attachments

load(callback)
Loads the attachments.
Parameters:
{AjxCallback} callback
the callback to call after load

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:38 GMT-0400 (EDT)