/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/examples/prism-xeora.html
111 строк
3 KB
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
<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>