Glasnost Help and Documentation
Developers
API
Glasnost Objects Types
GlasnostObject
GlasnostObject
Glasnost objects (articles, rubrics, people, etc) are of type GlasnostObject.
A GlasnostObject is instanciated with the id of an object. For instance:
GlasnostObject('glasnost://site/articles/1')
currentObject is the GlasnostObject defined in the page which displays an object.
Attributes
- A label attribute is defined for every GlasnostObject. It has the same value as an article's title, a rubric's name, a people object's first name and last name, etc.
- isAccessible is a boolean attribute which is true if the object is read accessible.
- serverRole, of type GlasnostServerRole
- The object's specific attributes.
Method
- getURL()