This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:functions:gettextelement [02.12.2014 14:33] – created alexander.ritter | en:create:functions:gettextelement [29.08.2020 10:36] – [getTextElement()] sophia.schauer | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== getTextElement() ====== | ====== getTextElement() ====== | ||
- | '' | + | '' |
- | Gibt den HTML-Code für den Textbausteins mit der Kennung | + | Returns the HTML code for the text element with the ID //textID// as a string. |
- | * //TextKennung//\\ Kennung des Textbausteins, | + | * //textID//\\ ID of the text element whose content is to be returned. |
- | **Hinweis:** Falls der Textbaustein mit Titel und/oder Formatierung im Fragebogen ausgegeben wird, so ist auch dies im HTML-Code enthalten. Nicht enthalten sind allerdings eine eventuelle Ausrichtung | + | **Note:** If the text element is output in the questionnaire |
- | ===== Beispiel | + | ===== Example |
- | Im folgenden Beispiel wird einer von 2 Textbausteinen | + | In the following example, one of 2 text elements |
<code php> | <code php> | ||
Line 23: | Line 23: | ||
</ | </ | ||
- | ===== Beispiel | + | ===== Example |
- | Im folgenden Beispiel wird jedes " | + | In the following example, each " |
<code php> | <code php> |