PEAR_Size
[ class tree: PEAR_Size ] [ index: PEAR_Size ] [ all elements ]

File: pearsize.php

Source Location: /PEAR_Size-0.1.1/scripts/pearsize.php

Classes:

Page Details:

PEAR_Size determines how much filespace is consumed by each PEAR package.

Information can be displayed on a channel-by-channel basis and can be drilled down to the role/filetype of each installed file.

PHP Version 5

Includes:

include('PEAR/Size.php') [line 28]
include(dirname(__FILE__)."/../Size/Size.php") [line 26]
require('Console/Getopt.php') [line 24]
Neded to parse options on command line

APP_NAME [line 50]

APP_NAME = basename($_SERVER['PHP_SELF'])
name of the application/script

[ Top ]



APP_VERSION [line 51]

APP_VERSION = "@PACKAGE_VERSION@"

[ Top ]



PEAR_SIZE_INVALID_OPTIONS [line 46]

PEAR_SIZE_INVALID_OPTIONS = 12
exit status: invalid options specified

[ Top ]



PEAR_SIZE_MISSING_ARGS [line 42]

PEAR_SIZE_MISSING_ARGS = 11
exit status: arguments/parameters missing

[ Top ]



PEAR_SIZE_NON_CLI [line 38]

PEAR_SIZE_NON_CLI = 10
exit status: not using the CLI version of php

[ Top ]



PEAR_SIZE_OK [line 34]

PEAR_SIZE_OK = 0
exit status: OK

[ Top ]



printVersion [line 118]

void printVersion( )

printVersion
  • Access: public


[ Top ]



usage [line 63]

void usage( [mixed $error = null])

usage

Display either given error message, which can be in an array, or the usage screen.

  • Access: public


Parameters

mixed   $error   string or array of strings of error messages to display. If null, which is the default, the usage screen is displayed.
[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:17:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.