mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
update truncation documentation with "middle" feature
This commit is contained in:
@@ -32,7 +32,8 @@
|
|||||||
<entry>string</entry>
|
<entry>string</entry>
|
||||||
<entry>No</entry>
|
<entry>No</entry>
|
||||||
<entry>...</entry>
|
<entry>...</entry>
|
||||||
<entry>This is the text to append if truncation occurs.</entry>
|
<entry>This is a text string that replaces the truncated text. Its length
|
||||||
|
is NOT included in the truncation length setting.</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>3</entry>
|
<entry>3</entry>
|
||||||
@@ -42,6 +43,15 @@
|
|||||||
<entry>This determines whether or not to truncate at a
|
<entry>This determines whether or not to truncate at a
|
||||||
word boundary (false), or at the exact character (true).</entry>
|
word boundary (false), or at the exact character (true).</entry>
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>3</entry>
|
||||||
|
<entry>boolean</entry>
|
||||||
|
<entry>No</entry>
|
||||||
|
<entry>false</entry>
|
||||||
|
<entry>This determines whether the truncation happens at the end of the
|
||||||
|
string (false), or in the middle of the string (true). Note that if this
|
||||||
|
setting is true, then word boundaries are ignored.</entry>
|
||||||
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
</informaltable>
|
</informaltable>
|
||||||
|
Reference in New Issue
Block a user