forked from jayallen/melody
-
Notifications
You must be signed in to change notification settings - Fork 36
Template Tag Modifiers
Hiranyaloka edited this page Jul 11, 2011
·
2 revisions
Listed below is a comprehensive index of all the modifiers that can be applied as attributes to Movable Type template tags. Some apply globally, others are only supported for certain template tags. Attributes are order-dependent, so for example, adding dirify after a setvar attribute causes the variable to be set without dirification.
- _default
- blog_ids
- capitalize
- cat
- count_characters
- count_paragraphs
- count_words
- decode_html
- decode_xml
- dirify
- encode_html
- encode_js
- encode_php
- encode_sha1
- encode_url
- encode_xml
- escape
- exclude_blogs
- exclude_websites
- filters
- include_blogs
- include_websites
- indent
- lower_case
- ltrim
- mteval
- nl2br
- nofollowfy
- numify
- regex_replace
- remove_html
- replace
- rtrim
- sanitize
- setvar
- site_ids
- smart_dashes
- smart_ellipses
- smart_quotes
- smarty_pants
- space_pad
- spacify
- spam_protect
- sprintf
- string_format
- strip
- strip_linefeeds
- strip_tags
- trim
- trim_to
- upper_case
- wrap_text
- zero_pad