/tag_utils/misc_utils.inc

Description

This file contains miscellaneous functions used by the phpHtmllibs that don't seem to fit in the other files.

$Id: _tag_utils_misc_utils_inc.html,v 1.48.2.1 2005/05/12 01:52:14 hemna Exp $

Functions
build_spacergif_imgtag (line 28)

This builds an IMG tag object that is used to show a spacer image.

<img src="spacer.gif" width="$width" height="$height">

  • return: object.
IMGtag build_spacergif_imgtag ([int $width = 1], [int $height = 1], [string $img_path = "/images"])
  • int $width: - the width of the img ( DEFAULT : 1)
  • int $height: - the height of the img ( DEFAULT : 1)
  • string $img_path: - The dir that holds the spacer.gif file. ( DEFAULT = "/images" )
cdata_wrapper (line 81)

This function is used to wrap

a string in the standard CDATA section wrapper for a tag content

<![CDATA[ CONTENT ]]>

void cdata_wrapper (string $content)
  • string $content: the content to wrap
container (line 60)

This function creates a new container widget and stuffs all the args into it.

  • return: object
ContainerWidget container ([mixed 0 = - variable # of args])
  • mixed 0: - variable # of args
push_args (line 44)

This function pushes an array of keys into an HTMLTagObject

  • return: object.
HTMLTagClass push_args (object - $tag_object, array $args)
  • object - $tag_object: the HTMLTagClass object.
  • array $args: - the array of data to push array("blah", "foo", "bar");

Documentation generated on Wed, 11 May 2005 18:19:30 -0700 by phpDocumentor 1.3.0RC3