GLOBALS |
|
| Global view controller variables |
Holds the variables used through out the app to manage object context and alike. |
| Default jQuery .ajax() options |
Sets up the standard options for the requests to the mydigitalstructure webapi (model). |
| Sets the global flag for setting focus |
Stops the setting of the focus into the search textbox when on a touch device. |
| Extend jQuery to add functions |
Get # parameters from URL - good for deep url, viewpost and object/objectcontext item setting. |
NAVIGATION |
|
| interfaceMasterObjectViewportHistory() |
Log the last subview of each object in context of the items viewed. |
| interfaceMasterViewportDestination() |
Log or move to a new destination within the application.
Parameter "instruction:"
- 1 = New destination
- 2 = Go forward
- 3 = Go back
- 4 = Reset all destinations
- 5 = Jump forward to most recent destination
- 6 = Go to first destination - ie where started
- 8 = Get destinations from mydigitalstructure.com - ie when log back on
|
ACCESS |
|
interfaceMasterLogonShow() interfaceMasterLogon() |
Show the default log on view. Can be overriden in home.js |
interfaceMasterLogonChangePasswordShow() interfaceMasterLogonChangePassword() interfaceMasterLogonChangePasswordProcess() interfaceMasterLogonSendPasswordShow() interfaceMasterLogonSendPassword() interfaceMasterLogonSendPasswordProcess() |
Show the change password view. |
| interfaceMasterLogoff() |
Call the log off method on the mydigitalstructure.com |
| interfaceMasterViewportUserControlShow() |
Show the user in context drop down menu - eg Log off |
LAYOUT |
|
| interfaceMasterViewport() |
This is the "main" function. Sends method requst to CORE endpoint. If returns error then shows log on view, else calls interfaceMasterViewportShow() |
| interfaceMasterViewportShow() |
Set up master view controller layout - eg viewport selector. |
| interfaceMasterReset() |
Unbind all the behaviour from the master buttons. |
| interfaceMasterHomeShow() |
Show the home view. |
| interfaceMasterHomeOptionsShow() |
When user clicks the down arrow next to the home button. |
| interfaceMasterViewportSetup() |
If the user is administrator and clicks the set up button then this view is shown. |
| interfaceMasterViewportControlSetupShow() |
Set the master buttons. |
| interfaceMasterHelpShow() |
Show help. Bound to the help button. |
INTERACTION |
|
| interfaceMasterStatus() |
Update the status message in the master header. |
interfaceMasterElementEditStart() Stop(), Save() |
In list editing. Uses meta data held on the XHTML elements. |
| interfaceMasterOptionsSetPosition() |
Sets the position of an element, relative to another element. |
| interfaceMasterOptionsPosition() |
|
| interfaceMasterElementOptionsSearch() |
Sets the standard "options div" relative to another element. |
| interfaceMasterElementOptionsSearchShow() |
|
| interfaceMasterSave() |
Send a standard "_MANAGE" request to mydigitalstructure.com |
| interfaceMasterFormatSave() |
Encode data for a save request. |
COMMON |
|
| interfaceMasterAttachments() |
Show attachments for an object item. |
| interfaceMasterActions() / Show() |
Show actions for an object item. |
| interfaceMasterAddressSearch() / Show() |
Do an input box related address search. Works of the class of the element. |
| interfaceMasterContactSearch() / Show() |
Do an input box related contact search. Works of the class of the element. |
| interfaceMasterContactEmailSearch() / Show() |
Do an input box related email search. Works of the class of the element. |
PAGINATION |
|
interfaceMasterPagination() / Bind() / ShowMore() / ShowPage() |
Simple drop down list pagination. |
interfaceMasterPaginationList() / ShowMore() / ShowPage() |
On page list pagination. |
OTHER |
|
| interfaceMasterConfirm() |
Show a standard Yes/No box. |
| interfaceMasterFormatXHTML() |
Decode XHTML data. |
|
interfaceMasterViewportOptionsShow()
interfaceMasterViewportOptionsHide()
|
Show the options div. |