Class Index | File Index

Classes


Class Alfresco.Location

Extends Alfresco.component.Base
Asset location helper class.
Defined in: share.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
Location constructor.
Field Summary
Field Attributes Field Name and Description
 
Object container for initialization options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Set nodeRef, will lookup the cntext of the nodeRef and display the result depending
 
displayByPath(fullPath, siteId, siteTitle)
Renders the location path as HTML
 
generateHTML(fullPath, siteId, siteTitle)
Create html that represent a path and site
 
Fired by YUI when parent element is available for scripting.
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.Location(el)
Location constructor.
Parameters:
{String} el
The HTML id of the parent element
Returns:
{Alfresco.Location} The new Location instance
Field Detail
{object} options
Object container for initialization options
Method Detail
displayByNodeRef(nodeRef)
Set nodeRef, will lookup the cntext of the nodeRef and display the result depending
on the scope of the options (site and rootNode).
Parameters:
nodeRef
{Alfresco.util.NodeRef|string}

displayByPath(fullPath, siteId, siteTitle)
Renders the location path as HTML
Parameters:
{string} fullPath
{string} siteId
{string} siteTitle

{string} generateHTML(fullPath, siteId, siteTitle)
Create html that represent a path and site
Parameters:
fullPath
siteId
siteTitle
Returns:
{string} html respresenting path and site as span elements

onReady()
Fired by YUI when parent element is available for scripting.
Template initialisation, including instantiation of YUI widgets and event listener binding.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:26 GMT-0000 (GMT)