Program_Root/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.34 2003/08/01 01:37:37 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");

Documention generated on Thu, 31 Jul 2003 18:32:55 -0700 by phpDocumentor 1.2.0