-
Notifications
You must be signed in to change notification settings - Fork 3
/
Redux Framework.xml
executable file
·72 lines (72 loc) · 7.63 KB
/
Redux Framework.xml
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
<templateSet group="Redux Framework">
<template name="redux-arg-required" value="'required' => array( '$parent$', '$operation$', '$value$' ),$END$" description="Required argument, single condition" toReformat="true" toShortenFQNames="true">
<variable name="parent" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="operation" expression="enum("=", "!=", "<", "<=", ">", ">=", "contains", "doesnt_contain", "is_empty_or", "not_empty_and")" defaultValue="equals" alwaysStopAt="true" />
<variable name="value" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="true" />
</context>
</template>
<template name="redux-args-required-nested" value="'required' => array( 	array( '$parent$', '$operation$', '$value$' ), 	array( '$parent2$', '$operation2$', '$value2$' ), )," description="Required argument, w/ multiple nested conditions" toReformat="true" toShortenFQNames="true">
<variable name="parent" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="operation" expression="enum("=","!=","<","<=",">",">=", "contains", "doesnt_contain","is_empty_or","not_empty_and")" defaultValue="equals" alwaysStopAt="true" />
<variable name="value" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="parent2" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="operation2" expression="enum("=","!=","<","<=",">",">=", "contains", "doesnt_contain","is_empty_or","not_empty_and")" defaultValue="equals" alwaysStopAt="true" />
<variable name="value2" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="true" />
</context>
</template>
<template name="redux-section" value="Redux::setSection( '$opt_name$', array( 'id' => '$id$', 'title' => __( '$title$', 'redux-framework-demo' ), //'heading' => '', //'subsection' => true, 'icon' => 'el el-cogs', 'fields' => array( ), ) );" description="Section Declaration" toReformat="true" toShortenFQNames="true">
<variable name="opt_name" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="id" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="title" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="true" />
</context>
</template>
<template name="redux-field-array" value="array( 'id' 	=> '$id$', 'type' 		=> '$type$', 'title' 		=> __( '$title$', 'redux-framework-demo' ), //'subtitle' 	=> __( '', 'redux-framework-demo' ), //'desc' 	=> __( '', 'redux-framework-demo' ), //'full_width' 	=> true, //'default' 		=> '', )," description="Field array only declaration" toReformat="true" toShortenFQNames="true">
<variable name="id" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="type" expression="enum("","ace_editor", "background", "border", "button_set", "checkbox", "color", "color_gradient", "color_rgba", "date", "dimensions", "divide", "editor", "gallery", "image_select", "info", "link_color", "media", "multi_text", "password", "radio", "raw", "section", "select", "select_image", "slider", "slides", "sortable", "sorter", "spacing", "spinner", "switch", "text", "textarea", "typography")" defaultValue="" alwaysStopAt="true" />
<variable name="title" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="true" />
</context>
</template>
<template name="redux-field" value="Redux::setField( '$opt_name$', array( 'id' 	=> '$id$', 'section_id' => '$section_id$', 	 'type' 		=> '$type$', 	 'title' 		=> __( '$title$', 'redux-framework-demo' ), 	 //'subtitle' 	=> __( '', 'redux-framework-demo' ), 	 //'desc' 	=> __( '', 'redux-framework-demo' ), 	 //'full_width' 	=> true, 	 //'default' 		=> '', 	) );" description="Redux field declaration" toReformat="true" toShortenFQNames="true">
<variable name="opt_name" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="id" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="section_id" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="type" expression="enum("","ace_editor", "background", "border", "button_set", "checkbox", "color", "color_gradient", "color_rgba", "date", "dimensions", "divide", "editor", "gallery", "image_select", "info", "link_color", "media", "multi_text", "password", "radio", "raw", "section", "select", "select_image", "slider", "slides", "sortable", "sorter", "spacing", "spinner", "switch", "text", "textarea", "typography")" defaultValue="" alwaysStopAt="true" />
<variable name="title" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="true" />
</context>
</template>
<template name="redux-section-array" value="array( 'id' => '$id$', 'title' => __( '$title$', 'redux-framework-demo' ), //'heading' => '', //'subsection' => true, 'icon' => 'el el-cogs', 'fields' => array( ), )," description="Section array only declaration" toReformat="true" toShortenFQNames="true">
<variable name="id" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="title" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="PHP" value="true" />
<option name="PHP Comment" value="true" />
</context>
</template>
</templateSet>