Hash :
0fffa9df
Author :
Date :
2017-12-06T20:27:49
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
<h1>Xeora</h1>
<p>To use this language, use the class "language-xeora".</p>
<h2>Special Constants</h2>
<pre><code>$DomainContents$
$PageRenderDuration$</code></pre>
<h2>Operators & Variables</h2>
<pre><code>$SearchKey$
$^SearchKey$
$~SearchKey$
$-SearchKey$
$+SearchKey$
$=SearchKey$
$#SearchKey$
$##SearchKey$
$*SearchKey$
$@SearchObject.SearchProperty$
$@#SearchObject.SearchProperty$
$@-SearchObject.SearchProperty$</code></pre>
<h2>Controls</h2>
<pre><code>$C:ControlID$
$C:ControlID:{ <!-- Something --> }:ControlID$
$C:ControlID:{ <!-- Something --> }:ControlID:{ <!-- Something (Alternative) --> }:ControlID$
Control with Parent
$C[Control1]:Control2$
$C[Control2]:Control3:{ <!-- Something --> }:Control3$
$C[Control2]:Control3:{ <!-- Something --> }:Control3:{ <!-- Something (Alternative) --> }:Control3$
Control with Parent & Leveling
$C#1[ParentControlID]:ControlID:{ <!-- Something --> }:ControlID$
All Control Tags has leveling specification;
$C:LoopControl1:{
$#FirstLoopSQLField1$
$C:ControlID:{ <!-- Something --> }:ControlID$
$C:LoopControl2:{
$##FirstLoopSQLField1$
$#SecondLoopSQLField1$
$C#1:ControlID:{ <!-- Something --> }:ControlID$
}:LoopControl2$
}:LoopControl1$
XML setup on a Control in Controls.xml
<Control id="[ControlID]">
<Type>[ControlType]</Type>
<Bind>[ThemeID|AddonID]?[ControlClass].[FunctionName],SomeOperatorTags(seperated with |)</Bind>
<BlockIDsToUpdate localupdate="True|False">
<BlockID>[BlockID]</BlockID>
<BlockID>[BlockID]</BlockID>
<BlockID>[BlockID]</BlockID>
</BlockIDsToUpdate>
<DefaultButtonID>[ControlID]</DefaultButtonID>
<Text>[TextBox, Password value or Button Text]</Text>
<Content>[Textarea Content]</Content>
<Source>[Image URL]</Source>
<Url>[Link URL]</Url>
<Attributes>
<Attribute key="[HTMLAttributeKey]">[AttributeValue]</Attributes>
</Attributes>
</Control></code></pre>
<h2>Directives</h2>
<pre><code>$T:TemplateID$
$L:TranslationID$
$P:TemplateID$</code></pre>
<h2>Executable Functions</h2>
<pre><code>$F:AddonLib1?GlobalControls.PrintOutSums$
$F:AddonLib1?GlobalControls.PrintOut,~FormField$
$F:AddonLib1?GlobalControls.SumNumbers,~FormField|=5$</code></pre>
<h2>Client Side Function Binding</h2>
<pre><code>$XF:{AddonLib1?GlobalControls.SumNumbers,~FormField|=5}:XF$</code></pre>
<h2>Inline Statements</h2>
<pre><code>$S:StatementID:{ <!-- C# Code --> }:StatementID$
$S:StatementID:{!NOCACHE <!-- C# Code --> }:StatementID$
$S:Statement1:{
int intvalue1 = 5;
int intvalue2 = Integer.Parse("0" + $~FormValue$);
return intvalue1 * intvalue2;
}:Statement1$</code></pre>
<h2>Request Blocks</h2>
<pre><code>$H:RequestBlockID:{ <!-- Something --> }:RequestBlockID$
$H:RequestBlockID:{!RENDERONREQUEST <!-- Something --> }:RequestBlockID$</code></pre>
<h2>Cache Block</h2>
<pre><code>$PC:{ <!-- Page Content Part --> }:PC$</code></pre>
<h2>Message Handling Block</h2>
<pre><code>$MB:{ <!-- Message Output Content --> }:MB$
$MB:{
$#Message$
$#MessageType$
}:MB$</code></pre>