Difference between revisions of "Available Smarty Functions"

From TMM Wiki
Jump to navigationJump to search
(Created page with "<!--Available Built-in Smarty Functions: * count * strtolower * strtoupper * number_format * date_format * array * list * isset * empty * sizeof * in_array * is_array * is_nu...")
 
Line 1: Line 1:
<!--Available Built-in Smarty Functions:
+
<!--===Available Built-in Smarty Functions:===
  
 
* count
 
* count
Line 21: Line 21:
 
* array_key_exists
 
* array_key_exists
  
Available TMM Smarty Modifiers:
+
===Available TMM Smarty Modifiers:===
*dhms
+
* dhms
 
 
$tPSn . _abbreviate
 
 
* tmm_abbreviate
 
* tmm_abbreviate
 
 
* maxlength
 
* maxlength
 
* multiple
 
* multiple
Line 34: Line 31:
 
* math_opposite
 
* math_opposite
 
* stats_date_format
 
* stats_date_format
 
+
* tmm_date_format
$tPSn . _date_format
 
*tmm_date_format
 
 
 
$tPSn . _local_date
 
 
* tmm_local_date
 
* tmm_local_date
 
 
* bytes
 
* bytes
 
* long2ip
 
* long2ip
Line 46: Line 38:
 
* tmm_strpos
 
* tmm_strpos
 
* tmm_strstr
 
* tmm_strstr
 +
* tmm_substr
 +
<pre>
 +
{assign name="$a" value="cho_test@abc.com"}
 +
 +
{$a|tmm_strstr:"@":true}  or
 +
{$a|tmm_strstr:"@"}
 +
</pre>
 
* rand
 
* rand
 
-->
 
-->

Revision as of 18:40, 3 November 2017