[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/helper/ -> TagHelper.php (sommaire)

TagHelper defines some base helpers to construct html tags.

Author: Fabien Potencier <fabien.potencier@symfony-project.com>
Author: David Heinemeier Hansson
Version: SVN: $Id: TagHelper.php 3336 2007-01-23 21:05:10Z fabien $
Poids: 119 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 9 fonctions

  tag()
  content_tag()
  cdata_section()
  escape_javascript()
  escape_once()
  fix_double_escape()
  _tag_options()
  _parse_attributes()
  _get_option()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

tag($name, $options = array()   X-Ref
Constructs an html tag.

param: $name    string  tag name
param: $options array   tag options
param: $open    boolean true to leave tag open
return: string

content_tag($name, $content = '', $options = array()   X-Ref
Pas de description

cdata_section($content)   X-Ref
Pas de description

escape_javascript($javascript = '')   X-Ref
Escape carrier returns and single and double quotes for Javascript segments.


escape_once($html)   X-Ref
Escapes an HTML string.

param: string HTML string to escape
return: string escaped string

fix_double_escape($escaped)   X-Ref
Fixes double escaped strings.

param: string HTML string to fix
return: string escaped string

_tag_options($options = array()   X-Ref
Pas de description

_parse_attributes($string)   X-Ref
Pas de description

_get_option(&$options, $name, $default = null)   X-Ref
Pas de description



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7