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

Source for file Registry-init.php

Documentation is available at Registry-init.php

  1. <?php
  2. // quick-load, small memory footprint command configuration
  3. $implements = array(
  4.         'list' => array(
  5.             'summary' => 'List Installed Packages In The Default Channel',
  6.             'function' => 'doList',
  7.             'shortcut' => 'l',
  8.             'options' => array(
  9.                 'channel' => array(
  10.                     'shortopt' => 'c',
  11.                     'doc' => 'list installed packages from this channel',
  12.                     'arg' => 'CHAN',
  13.                     ),
  14.                 'allchannels' => array(
  15.                     'shortopt' => 'a',
  16.                     'doc' => 'list installed packages from all channels',
  17.                     ),
  18.                 ),
  19.             'doc' => '<package>
  20. If invoked without parameters, this command lists the PEAR packages
  21. installed in your php_dir ({config php_dir}).  With a parameter, it
  22. lists the files in a package.
  23. ',
  24.             ),
  25.         'list-files' => array(
  26.             'summary' => 'List Files In Installed Package',
  27.             'function' => 'doFileList',
  28.             'shortcut' => 'fl',
  29.             'options' => array(),
  30.             'doc' => '<package>
  31. List the files in an installed package.
  32. '
  33.             ),
  34.         'shell-test' => array(
  35.             'summary' => 'Shell Script Test',
  36.             'function' => 'doShellTest',
  37.             'shortcut' => 'st',
  38.             'options' => array(),
  39.             'doc' => '<package> [[relation] version]
  40. Tests if a package is installed in the system. Will exit(1) if it is not.
  41.    <relation>   The version comparison operator. One of:
  42.                 <, lt, <=, le, >, gt, >=, ge, ==, =, eq, !=, <>, ne
  43.    <version>    The version to compare with
  44. '),
  45.         'info' => array(
  46.             'summary'  => 'Display information about a package',
  47.             'function' => 'doInfo',
  48.             'shortcut' => 'in',
  49.             'options'  => array(),
  50.             'doc'      => '<package>
  51. Displays information about a package. The package argument may be a
  52. local package file, an URL to a package file, or the name of an
  53. installed package.'
  54.             )
  55.         );
  56. ?>

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