Files
smarty/docs/de/designers/language-combining-modifiers.xml
2004-03-28 15:20:52 +00:00

52 lines
1.8 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<chapter id="language.combining.modifiers">
<title>Kombinieren von Modifikatoren</title>
<para>
Sie k&ouml;nnen auf eine Variable so viele Modifikatoren anwenden wie Sie m&ouml;chten.
Die Modifkatoren werden in der Reihenfolge angewandt, in der sie notiert wurden - von links nach rechts.
Kombinierte Modifikatoren m&uuml;ssen mit einem <literal>|</literal>-Zeichen (pipe) getrennt werden.
</para>
<example>
<title>Kombinieren von Modifikatoren</title>
<programlisting>
{$artikelTitel}
{$artikelTitel|upper|spacify}
{$artikelTitel|lower|spacify|truncate}
{$artikelTitel|lower|truncate:30|spacify}
{$artikelTitel|lower|spacify|truncate:30:". . ."}
AUSGABE:
Einem Stadtrat in Salem in Pennsylvania (USA) droht eine zweij&auml;hrige Haftstrafe, da eine von ihm gehaltene Rede sechs Minuten l&auml;nger dauerte, als erlaubt. Die Redezeit ist auf maximal f&uuml;nf Minuten begrenzt.
EINEM STADTRAT IN SALEM IN PENNSYLVANIA (USA) DROHT EINE ZWEIJ&auml;HRIGE HAFTSTRAFE, DA EINE VON IHM GEHALTENE REDE SECHS MINUTEN L&auml;NGER DAUERTE, ALS ERLAUBT. DIE REDEZEIT IST AUF MAXIMAL F&uuml;NF MINUTEN BEGRENZT.
e i n e m s t a d t r a t i n s a l e m i n...
e i n e m s t a d t r a t i n s a l e m i n . . .
e i n e m s t a d t r. . .</programlisting>
</example>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->