/docbuilder/includes/utilities.php

Description

phpDocumentor :: docBuilder Web Interface

PHP versions 4 and 5

Copyright (c) 2003-2006 Andrew Eddie, Greg Beaver

LICENSE:

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • author: Greg Beaver <[email protected]>
  • author: Andrew Eddie
  • version: CVS: $Id: utilities.php 212211 2006-04-30 22:18:14Z cellog $
  • copyright: 2003-2006 Andrew Eddie, Greg Beaver
  • license: LGPL
Includes
include_once (dirname(realpath(__FILE__))."/../../HTML_TreeMenu-1.1.2/TreeMenu.php") (line 38)
include_once ('PhpDocumentor/HTML_TreeMenu-1.1.2/TreeMenu.php') (line 36)
Functions
getDir (line 74)
void getDir ( $path,  &$node)
  • $path
  • &$node
htmlArraySelect (line 63)

Returns a select box based on an key,value array where selected is based on key

void htmlArraySelect ( &$arr, string $select_name, string $select_attribs, string $selected, array $arr)
  • array $arr: array of the key-text pairs
  • string $select_name: The name of the select box
  • string $select_attribs: Additional attributes to insert into the html select tag
  • string $selected: The key value of the selected eleme
  • &$arr
recurseDir (line 96)
void recurseDir ( $path,  &$node)
  • $path
  • &$node
showImage (line 48)

Allows png's with alpha transparency to be displayed in IE 6

void showImage (string $src, [int $wid = ''], [int $hgt = ''], [string $alt = ''])
  • string $src: path to the source image
  • int $wid: width on the image [optional]
  • int $hgt: height on the image [optional]
  • string $alt: hover text for the image [optional]
switchDirTree (line 125)
void switchDirTree ( $path,  &$node)
  • $path
  • &$node
vdump_par (line 205)
void vdump_par ( $tree)
  • $tree

Documentation generated on Mon, 05 Dec 2011 21:23:44 -0600 by phpDocumentor 1.4.4