Help with a plugin: Formatting a String

merfedmerfed New
edited March 2011 in Vanilla 2.0 - 2.8
I'm familiar with Vanilla 1, and it's ability to "FORMAT_STRING_FOR_DISPLAY" or "FORMAT_STRING_FOR_DATABASE". Is there an equivalent, or similar way to do this in Vanilla 2?

Comments

  • SS ✭✭
    FORMAT_STRING_FOR_DISPLAY:
    Gdn_Format::Display($String)
    Gdn_Format::Text($String)
    Gdn_Format::Html($String)

    FORMAT_STRING_FOR_DATABASE:
    Not used.
Sign In or Register to comment.