Antville 1.2-beta API Reference
Class Index | File Index

Classes


Class Root


Extends Site.

Defined in: Root.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Root()
Antville’s root object is an extent of the Site prototype.
Field Summary
Field Attributes Field Name and Description
<static>  
Root._children
<static>  
Root.admin
<static>  
Root.admins
<static>  
Root.api
<static>  
<static>  
<static>  
<static>  
<static>  
<static>  
<static>  
<static>  
Root.quote
<static>  
Root.replyTo
<static>  
Root.sites
<static>  
Root.updates
<static>  
Root.users
<static> <constant>  
Root.VERSION
Method Summary
Method Attributes Method Name and Description
 
 
 
 
getPermission(action)
 
Sitemap for Google Webmaster Tools (Unfortunately, utterly useless.
 
xgettext(script, scanDirs, potFile)
This method is called from the build script to extract gettext call strings from scripts and skins.
Methods borrowed from class Site:
age_macro, calendar_macro, callback, deleted_macro, diskspace_macro, getAdminHeader, getDiskSpace, getLocale, getStaticFile, getStaticUrl, getTags, getTimeZone, getXml, processHref, referrers_macro, spamfilter_macro, stories_macro, update
Methods borrowed from class HopObject:
addTag, checkbox_macro, created_macro, creator_macro, getFormValue, getTitle, handleMetadata, input_macro, kind_macro, link_filter, link_macro, log, macro_macro, map, modified_macro, modifier_macro, notify, onRequest, radiobutton_macro, removeTag, select_macro, self_macro, setTags, skin_macro, textarea_macro, toString, touch, type_macro, upload_macro
Class Detail
Root()
Antville’s root object is an extent of the Site prototype.
Field Detail
<static> {Site[]} Root._children

<static> {Admin} Root.admin

<static> {User[]} Root.admins

<static> {Api} Root.api

<static> {String} Root.creationDelay

<static> {String} Root.creationScope

<static> {String} Root.notificationScope

<static> {String} Root.phaseOutGracePeriod

<static> {String} Root.phaseOutMode

<static> {String} Root.phaseOutNotificationPeriod

<static> {String} Root.probationPeriod

<static> {String} Root.quote

<static> {String} Root.replyTo

<static> {Site[]} Root.sites

<static> {Site[]} Root.updates

<static> {User[]} Root.users

<static> <constant> Root.VERSION
Method Detail
{Boolean} getCreationPermission()
Returns:
{Boolean}

{Object} getFormOptions(name)
Parameters:
{String} name
Returns:
{Object}
See:
Site#getFormOptions

{HopObject} getMacroHandler(name)
Parameters:
{String} name
Returns:
{HopObject}
See:
Site#getMacroHandler

{Boolean} getPermission(action)
Parameters:
{String} action
Returns:
{Boolean}

sitemap_xml_action()
Sitemap for Google Webmaster Tools (Unfortunately, utterly useless.)

xgettext(script, scanDirs, potFile)
This method is called from the build script to extract gettext call strings from scripts and skins.
Parameters:
{String} script
{String} scanDirs
{String} potFile

Documentation generated by JsDoc Toolkit 2.3.2 on Sat Jan 16 2010 00:41:43 GMT+0100 (CET)