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

Class: PEAR_Command_Categories

Source Location: /PEAR_Frontend_Web-0.7.5/Command/Categories.php

Class Overview

PEAR_Command_Common
   |
   --PEAR_Command_Categories

PEAR_Frontend_Web command for listing individual category information


Author(s):

Version:

  • Release: TODO

Copyright:

  • 1997-2007 The PHP Group

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
PEAR_Frontend_Web command for listing individual category information


[ Top ]


Class Variables

$commands = array(
        'list-packages' => array(
            'summary' => 'List All Packages of a Channel',
            'function' => 'doListPackages',
            'shortcut' => 'lp',
            'options' => array(
                'channel' => array(
                    'shortopt' => 'c',
                    'doc' => 'specify a channel other than the default channel',
                    'arg' => 'CHAN',
                    ),'allchannels'=>array('shortopt'=>'a','doc'=>'list available packages from all channels',),),'doc'=>'
Lists all the packages of a channel. For each channel it displays the
channel and package name.',),'list-categories'=>array('summary'=>'List All Categories','function'=>'doListCategories','shortcut'=>'cats','options'=>array('channel'=>array('shortopt'=>'c','doc'=>'specify a channel other than the default channel','arg'=>'CHAN',),'allchannels'=>array('shortopt'=>'a','doc'=>'list available categories from all channels',),'packages'=>array('shortopt'=>'p','doc'=>'list the packagenames of the categories too',),),'doc'=>'
Lists the categories available on the channel server. For each channel
it displays the channel and categorie name, and optionally the all the
names of the packages in the categories.',),'list-category'=>array('summary'=>'List All Packages of a Category','function'=>'doListCategory','shortcut'=>'cat','options'=>array('channel'=>array('shortopt'=>'c','doc'=>'specify a channel other than the default channel','arg'=>'CHAN',)),'doc'=>'<category> [<category>...]
Lists all the packages of a category of a channel. For each category
it displays the channel and package name, with local and remote version
information, and the summary.',),)

[line 46]


Type:   mixed


[ Top ]



Method Detail

PEAR_Command_Categories (Constructor)   [line 116]

PEAR_Command_Categories PEAR_Command_Categories( &$ui, &$config)

PEAR_Command_Registry constructor.
  • Access: public

Parameters:

   &$ui     
   &$config     

[ Top ]

doListCategories   [line 206]

void doListCategories( $command, $options, $params)


Parameters:

   $command     
   $options     
   $params     

[ Top ]

doListCategory   [line 308]

void doListCategory( $command, $options, $params)


Parameters:

   $command     
   $options     
   $params     

[ Top ]

doListPackages   [line 124]

void doListPackages( $command, $options, $params)


Parameters:

   $command     
   $options     
   $params     

[ Top ]


Documentation generated on Mon, 25 Oct 2010 14:01:48 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.