Prototype TopicMgr
ACTIONS | FUNCTIONS | MACROS | SKINS | TEMPLATES | TYPE.PROPERTIES

Actions
main_action
main action
 
Functions
checkAccess(action, usr, level)
permission check (called by hopobject.onRequest())
 
Macros
TopicMgr.topiclist
function renders the list of topics as links
 
Skins
main.skin
 


type.properties
##
## collections
##
_children                  = collection(Story)
_children.local            = SITE_ID
_children.foreign          = TEXT_F_SITE
_children.filter           = TEXT_PROTOTYPE = 'Story' and TEXT_ISONLINE > 0
_children.order            = TEXT_CREATETIME desc
_children.group            = TEXT_TOPIC
_children.group.prototype  = topic
_children.group.order      = TEXT_TOPIC