What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
Wird verwendet, um die Anzahl der Sätze in einer Variable zu ermitteln.
Example 5.6. count_sentences (Sätze zählen)
{$artikelTitel} {$artikelTitel|count_sentences} AUSGABE: Zwei Deutsche haben die sogenannte "Painstation" vorgestellt. Bei Fehlern im Spiel wird der Spieler durch Elektroschocks aus der Konsole bestraft. Wer länger aushält, hat gewonnen. 3