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

Class: PEAR_Command_Size

Source Location: /PEAR_Size-1.0.0RC1/Command/Size.php

Class Overview

PEAR_Command_Common
   |
   --PEAR_Command_Size

PEAR_Command_Size: integrate PEAR_Size within the pear command line.


Author(s):

Version:

  • Release: 1.0.0RC1

Copyright:

  • 2008 Ken Guest

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 47]
PEAR_Command_Size: integrate PEAR_Size within the pear command line.


[ Top ]


Class Variables

$commands = array(
        'size' => array(
            'summary'  => "Information on how much space a package requires.",
            "function" => "doSize",
            "shortcut" => "sz",
            "options"  => array(
                "all"          => array(
                    "shortopt" => "a",
                    "doc"      => "display information for all installed packages"
                ),"allchannels"=>array("shortopt"=>"A","doc"=>"list packages from all channels, not just the default one"),"channel"=>array("shortopt"=>"c","arg"=>"CHANNEL","doc"=>"specify which channel"),"csv"=>array("shortopt"=>"C","doc"=>"output results in CSV format (sizes are measured in bytes)."),"human-readable"=>array("shortopt"=>"h","doc"=>"print sizes in human readable format (for example: 492 B 1KB 7MB)"),"si"=>array("shortopt"=>"H","doc"=>"likewise, but use powers of 1000 not 1024"),"type"=>array("shortopt"=>"t","arg"=>"TYPES","doc"=>"specify what type of files are required for the report"),"summarise"=>array("shortopt"=>"s","doc"=>"display channel summary view"),"fsort"=>array("shortopt"=>"S","doc"=>"sort by file size"),"verbose"=>array("shortopt"=>"v","doc"=>"display more detailed information"),"version"=>array("shortopt"=>"V","doc"=>"output version information and exit"),"xml"=>array("shortopt"=>"X","doc"=>"output results in XML format"),"killzero"=>array("shortopt"=>"0","doc"=>"do not output zero values in verbose mode"),),'doc'=>'[PACKAGE ...]
Display information on how much space an installed PEAR package requires.'))

[line 49]


Type:   mixed


[ Top ]



Method Detail

doSize   [line 126]

void doSize( mixed $command, mixed $options, mixed $params)

The doSize method
  • Access: public

Parameters:

mixed   $command   —  instance of command object
mixed   $options   —  the command options
mixed   $params   —  the command parameters (for the options)

[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:03:05 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.