Array:
|
Create()
|
params object
|
Takes an unlimited number of parameters and creates an array
|
CreateInStore()
|
string, params object
|
As with create except the first parameter indicates a storage tag that the result in saved into. See StoreLoader
|
Sort()
|
array
|
The array to sort
|
IndexOf()
|
object, array
object, array, int
object, array, int, int
|
Returns the index (position) of an object in an array
As above but 3rd param indicates start index for search
As above but 4th param indicates count to search through
|
LastIndexOf()
|
object, array
object, array, int
object, array, int, int
|
As above but searching from the end…
|
Bool:
or Boolean:
|
[literal]
|
|
Cast a literal as a Boolean
|
Context:
or RdObj:
|
CurrentPage
|
IPage
|
Get the current page
|
CurrentIndex
|
IPageIndex
|
Get the current index item (as in navigation index item)
|
CurrentMasterPage
|
IPage
|
Get the current master page
|
CurrentLanguageVariant
|
ILanguage
|
Get the current language
|
CurrentProjectVariantId
|
Guid
|
Get the id of the current project variant
|
CurrentProjectId
|
Guid
|
Get the id of the current project
|
CurrentRenderMode
|
int
|
Get the current render mode. See
RenderModes
|
CurrentUserId
|
Guid
|
Get the id of the current user
|
FirstIndex
|
IPageIndex
|
Get the navigation index item of the first page in the breadcrumb stack
|
LastIndex
|
IPageIndex
|
Get the navigation index item of the last page in the breadcrumb stack
|
CurrentLevelCount
|
int
|
Get the number of levels that will be processed (? To be confirmed)
|
CurrentDepth
|
int
|
Get the current depth of processing
|
Pages.GetPage()
|
Guid
|
Retrieve an IPage for the given PageId for the current project/language
|
Pages.Render()
|
Guid
Guid,Guid
Guid, Guid, Guid
|
Render the page with the given PageId and return the output
Render the page with the given MasterPageId and PageId respectively and return the output
Render the page with the given MasterPageId, PageId and TemplateId respectively and return the output
|
Indexes.RootIndex()
|
|
Get the root index item
|
Indexes.GetIndexById()
|
Guid
|
Get the index item by its Guid
|
Indexes.GetIndexByPage()
|
IPage
|
Get the navigation index for the given IPage
|
Indexes.GetIndexByPageId()
|
Guid
|
Get the navigation index for the given PageId
|
Indexes.RootIndexList()
|
|
Gets an IPageIndexList for the current breadcrumb stack
|
Params.GetKeys()
|
|
return an array of all keys to all the params stored on the context object*
|
Params.Set()
|
object
|
pass an object to set the value of a parameter
|
Params.[KeyName]()
|
|
call as a method the keyed parameter you want to return
|
Debug:
|
Set()
|
bool
|
Enable or disable debug mode
|
Get()
|
|
Returns whether the system is in debug mode
|
Escape:
or RdEscape:
|
Null or null
|
|
Emits the value null
|
NewLine
|
|
Emits the string “\r\n”
|
Br
|
|
Emits the string “<br />”
|
Tab
|
|
Emits the string “\t”
|
Space
|
|
Emits the string “ ”
|
NbSp
|
|
Emits the string “ ”
|
EmptyString
|
|
Emits the string “”
|
OpenTag
|
|
Emits the string “<”
|
CloseTag
|
|
Emits the string “>”
|
CDataBegin
|
|
Emits the string “<![CDATA[”
|
CDataEnd
|
|
Emits the string “]]>”
|
BeginTag()
|
string
|
Emits “<tag>” where tag is the value of the parameter to the method
|
EndTag()
|
string
|
Emits “</tag>” where tag is the value of the parameter to the method
|
SingleTag()
|
string
|
Emits “<tag />” where tag is the value of the parameter to the method
|
Space()
|
int
|
Emits the number of spaces specified in the parameter
|
String()
|
int, string
|
Emits a string containing the second parameter repeated the number of times specified in the first
|
Text()
|
string
|
Emits the contents of the parameter as a string
|
HtmlEncode()
|
string
|
Emits the parameter after html encoding using System.Web.HttpUtility::HtmlEncode()
|
HtmlDecode()
|
string
|
Emits the parameter after html decoding using System.Web.HttpUtility::HtmlDecode()
|
Guid:
|
[literal]
|
|
Cast a literal as a Boolean
|
Int32:
or Int:
|
[literal]
|
|
Cast a literal as a 32-bit integer
|
Navigation:
|
OutputArea()
|
string
string, bool
string, bool, bool
string, bool, guid
|
|
Page:
|
GetPage()
|
|
|
GetUrl()
|
|
|
Rendering:
|
GetOutput()
|
|
|
GetHtml()
|
|
|
RenderObject()
|
|
|
VisualizeObject()
|
|
|
Store:
or
RdStore:
|
Set() or SetItem()
|
string, object
|
string tag to store against and object to be stored
|
Get()
|
string
|
retrieves and object from storage by tag
|
String:
or Str:
or RdString:
|
[literal]
|
|
Cast a literal as a String
|