Procedural File: utilities.php
Source Location: /docbuilder/includes/utilities.php
Page Details:
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
Tags:
author: Andrew Eddie
version: CVS: $Id: utilities.php 212211 2006年04月30日 22:18:14Z cellog $
copyright: 2003-2006 Andrew Eddie, Greg Beaver
Includes:
include_once('PhpDocumentor/HTML_TreeMenu-1.1.2/TreeMenu.php') [line 36]
include_once(dirname(realpath(__FILE__))."/../../HTML_TreeMenu-1.1.2/TreeMenu.php") [line 38]
getDir [line 74]
void getDir(
$path, &$node)
Parameters
$path
&$node
htmlArraySelect [line 63]
void htmlArraySelect(
&$arr, string $select_name, string $select_attribs, string $selected, array $arr)
Returns a select box based on an key,value array where selected is based on key
Parameters
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)
Parameters
$path
&$node
showImage [line 48]
void showImage(
string $src, [int $wid = ''], [int $hgt = ''], [string $alt = ''])
Allows png's with alpha transparency to be displayed in IE 6
Parameters
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)
Parameters
$path
&$node
vdump_par [line 205]