forked from redaxo/redaxo
-
Notifications
You must be signed in to change notification settings - Fork 0
V5 vars
tbaddade edited this page Feb 24, 2012
·
9 revisions
REX_VALUE[id=4 ifempty=REX_ARTICLE[]]
Quotes
<?php
$var = "REX_VALUE[id=1]"; // single quotess
$var2 = 'REX_VALUE[id=1]'; // double quotes
?>
- REX_IS_LINK
- REX_IS_LINKLIST
- REX_IS_MEDIA
- REX_IS_MEDIALIST
Name | Wert | Ausgabe |
---|---|---|
attributes | id=id;class=klasse1 klasse2;onchange=… | |
comment | Navigationstemplate |
Name | Wert | Ausgabe |
---|---|---|
formlabel | Mein Label | <label>Mein Label</label> |
formtype | text | <input type="text" name="VALUE[1]" value="REX_VALUE[1]" /> |
formtype | password | <input type="password" name="VALUE[1]" value="REX_VALUE[1]" /> |
formtype | <input type="email" name="VALUE[1]" value="REX_VALUE[1]" /> |
|
formtype | url | <input type="url" name="VALUE[1]" value="REX_VALUE[1]" /> |
formtype | number | <input type="number" name="VALUE[1]" value="REX_VALUE[1]" /> |
formtype | range | <input type="range" name="VALUE[1]" value="REX_VALUE[1]" /> min. max, size über params |
formtype | weitere HTML5 Typen | … |
formtype | radio | <input type="radio" name="VALUE[1]" value="1" /> |
formtype | radios | <input type="radio" name="VALUE[1][]" value="formoptions-value" /><label>formoptions-name</label> |
formtype | checkbox | <input type="checkbox" name="VALUE[1]" value="REX_VALUE[1]" /> |
formtype | checkboxes | <input type="checkbox" name="VALUE[1][]" value="formoptions-value" /><label>formoptions-name</label> |
formtype | textarea | <textarea name="VALUE[1]">REX_VALUE[1]</textarea> |
formtype | select | <select name="VALUE[1]"><option value="formoptions-value">formoptions-name</option></select> |
formoptions | name1=value1;name2=value2; oder SELECT name, value FROM … |
<option value="value1">name1</option> odercheckboxes oder radios |
Name | Wert | Ausgabe |
---|---|---|
params | key1=value1;key2=value2 | …?key1=value1&key2=value2 |
Name | Wert | Ausgabe |
---|---|---|
mediatype | MediaTypeName | <img src=/index.php?rex_media_type=MediaTypeName&rex_media_file=MediaFileName |