mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
update truncation documentation with "middle" feature
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
<entry>string</entry>
|
||||
<entry>No</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>
|
||||
<entry>3</entry>
|
||||
@@ -42,6 +43,15 @@
|
||||
<entry>This determines whether or not to truncate at a
|
||||
word boundary (false), or at the exact character (true).</entry>
|
||||
</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>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
@@ -114,4 +124,4 @@ End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
-->
|
||||
|
Reference in New Issue
Block a user