Return to Developer Support
EditMe provides the following implicit variables. Click the linked class names to see the methods and properties available for each.
|attachments||Array of Attachment
||An array of the visible attachments for the current page in alphabetic order.|
|comments||Array of Comment
||An array of comments for the current page in chronological order.
|data||Data||An instance of the Data class that can be used to store and retrieve arbitrary textual data by key.
||The XML document object representing the layout that is currently being processed. The name of the Layout page can be retrieved with site.layout or over-ridden with page.layout.
|page||Page||The page that was requested by the browser.|
||An instance of the Server class, which provides access to things like request parameters, cookies, etc.
||An instance of the Site class,which provides access to various site settings.|
|stylesheet||String||A string containing the name of the CSS style sheet being applied to the requested page.|
||An instance of the User class representing the currently logged in user. If the user is not logged in, this object represents the anonymous user.|
||Util||An instance of the Util class, which provides access to utility methods such as URL encoding and decoding.
The following classes are made available by EditMe. While none of these can be directly instantiated using the "new" keyword, they can be accessed via the implicit variables discussed above. Click one of the class names for a full listing of methods and properties.
- Attachment - represents a file attached to a page.
- Comment - represents a comment on a page.
- Data - represents a name/value pair data structure and provides data query functions.
- Email - sends an email message.
- Group - represents a User Group.
- Page - represents a Page of content.
- Policy - represents a Security Policy.
- Server - functions related to the server.
- Site - access to site settings and data.
- User - represents a Registered or Administrator User.
- Util - miscellaneous utility functions.