155
edits
Line 95: | Line 95: | ||
== BasePage == | == BasePage == | ||
A BasePage is exactly that: a base to hold sub pages. A base page most closely represents the concept of a '''page''' in a CDU. | |||
<code> | |||
var BasePage = { | |||
# "Static" | |||
vector byID, | |||
func displayPage(), | |||
func regiserInPropTree(path) | |||
func new(name,ptp=nil), | |||
# "Public" | |||
scalar me.id, | |||
scalar me.active_sub_page_id, | |||
func me.activate(), | |||
(Field) me.home, | |||
scalar me.ptp, | |||
# "Private" | |||
vector me.sub_pages, | |||
scalar me.title, | |||
scalar me.status, | |||
}; | |||
</code> | |||
== CDU == | == CDU == |
edits