symfony API

TagHelper Functions

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu


You are currently browsing the symfony API for the 1.0 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

TagHelper defines some base helpers to construct html tags.

Function Summary

Function Details

  • cdata_section ()

  • content_tag ()

  • escape_javascript ()

    Escape carrier returns and single and double quotes for Javascript segments.

  • (string) escape_once ()

    Escapes an HTML string.

    returns escaped string

  • (string) fix_double_escape ()

    Fixes double escaped strings.

    returns escaped string

  • (string) tag (, , )

    Constructs an html tag.

  • _get_option ()

  • _parse_attributes ()

  • _tag_options ()