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

Source for file Remote-init.php

Documentation is available at Remote-init.php

  1. <?php
  2. // quick-load, small memory footprint command configuration
  3. $implements = array(
  4.         'remote-info' => array(
  5.             'summary' => 'Information About Remote Packages',
  6.             'function' => 'doRemoteInfo',
  7.             'shortcut' => 'ri',
  8.             'options' => array(),
  9.             'doc' => '<package>
  10. Get details on a package from the server.',
  11.             ),
  12.         'list-upgrades' => array(
  13.             'summary' => 'List Available Upgrades',
  14.             'function' => 'doListUpgrades',
  15.             'shortcut' => 'lu',
  16.             'options' => array(),
  17.             'doc' => '[preferred_state]
  18. List releases on the server of packages you have installed where
  19. a newer version is available with the same release state (stable etc.)
  20. or the state passed as the second parameter.'
  21.             ),
  22.         'remote-list' => array(
  23.             'summary' => 'List Remote Packages',
  24.             'function' => 'doRemoteList',
  25.             'shortcut' => 'rl',
  26.             'options' => array(
  27.                 'channel' =>
  28.                     array(
  29.                     'shortopt' => 'c',
  30.                     'doc' => 'specify a channel other than the default channel',
  31.                     'arg' => 'CHAN',
  32.                     )
  33.                 ),
  34.             'doc' => '
  35. Lists the packages available on the configured server along with the
  36. latest stable release of each package.',
  37.             ),
  38.         'search' => array(
  39.             'summary' => 'Search remote package database',
  40.             'function' => 'doSearch',
  41.             'shortcut' => 'sp',
  42.             'options' => array(
  43.                 'channel' =>
  44.                     array(
  45.                     'shortopt' => 'c',
  46.                     'doc' => 'specify a channel other than the default channel',
  47.                     'arg' => 'CHAN',
  48.                     )
  49.                 ),
  50.             'doc' => '[packagename] [packageinfo]
  51. Lists all packages which match the search parameters.  The first
  52. parameter is a fragment of a packagename.  The default channel
  53. will be used unless explicitly overridden.  The second parameter
  54. will be used to match any portion of the summary/description',
  55.             ),
  56.         'list-all' => array(
  57.             'summary' => 'List All Packages',
  58.             'function' => 'doListAll',
  59.             'shortcut' => 'la',
  60.             'options' => array(
  61.                 'channel' =>
  62.                     array(
  63.                     'shortopt' => 'c',
  64.                     'doc' => 'specify a channel other than the default channel',
  65.                     'arg' => 'CHAN',
  66.                     )
  67.                 ),
  68.             'doc' => '
  69. Lists the packages available on the configured server along with the
  70. latest stable release of each package.',
  71.             ),
  72.         'download' => array(
  73.             'summary' => 'Download Package',
  74.             'function' => 'doDownload',
  75.             'shortcut' => 'd',
  76.             'options' => array(
  77.                 'nocompress' => array(
  78.                     'shortopt' => 'Z',
  79.                     'doc' => 'download an uncompressed (.tar) file',
  80.                     ),
  81.                 ),
  82.             'doc' => '<package>...
  83. Download package tarballs.  The files will be named as suggested by the
  84. server, for example if you download the DB package and the latest stable
  85. version of DB is 1.6.5, the downloaded file will be DB-1.6.5.tgz.',
  86.             ),
  87.         'clear-cache' => array(
  88.             'summary' => 'Clear XML-RPC Cache',
  89.             'function' => 'doClearCache',
  90.             'shortcut' => 'cc',
  91.             'options' => array(),
  92.             'doc' => '
  93. Clear the XML-RPC cache.  See also the cache_ttl configuration
  94. parameter.
  95. ',
  96.             ),
  97.         );
  98. ?>

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