[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/PEAR/Frontend/ -> CLI.php (sommaire)

PEAR_Frontend_CLI PHP versions 4 and 5

Author: Stig Bakken <ssb@php.net>
Author: Greg Beaver <cellog@php.net>
Copyright: 1997-2006 The PHP Group
License: http://www.php.net/license/3_0.txt PHP License 3.0
Version: CVS: $Id: CLI.php,v 1.66 2006/11/19 23:56:32 cellog Exp $
Poids: 790 lignes (28 kb)
Inclus ou requis:0 fois
Référencé: 3 fois
Nécessite: 1 fichier
 PEAR/Frontend.php

Définit 1 class

PEAR_Frontend_CLI:: (24 méthodes):
  PEAR_Frontend_CLI()
  displayLine()
  _displayLine()
  display()
  _display()
  displayError()
  displayFatalError()
  displayHeading()
  _displayHeading()
  skipParamgroup()
  runPostinstallScripts()
  runInstallScript()
  confirmDialog()
  userDialog()
  userConfirm()
  startTable()
  _startTable()
  tableRow()
  _tableRow()
  endTable()
  _endTable()
  outputData()
  log()
  bold()


Classe: PEAR_Frontend_CLI  - X-Ref

Command-line Frontend for the PEAR Installer

PEAR_Frontend_CLI()   X-Ref
Pas de description

displayLine($text)   X-Ref
Pas de description

_displayLine($text)   X-Ref
Pas de description

display($text)   X-Ref
Pas de description

_display($text)   X-Ref
Pas de description

displayError($eobj)   X-Ref

param: object PEAR_Error object

displayFatalError($eobj)   X-Ref

param: object PEAR_Error object

displayHeading($title)   X-Ref
Pas de description

_displayHeading($title)   X-Ref
Pas de description

skipParamgroup($id)   X-Ref
Instruct the runInstallScript method to skip a paramgroup that matches the
id value passed in.

This method is useful for dynamically configuring which sections of a post-install script
will be run based on the user's setup, which is very useful for making flexible
post-install scripts without losing the cross-Frontend ability to retrieve user input
param: string

runPostinstallScripts(&$scripts)   X-Ref
Pas de description

runInstallScript($xml, &$script)   X-Ref

param: array $xml contents of postinstallscript tag
param: object $script post-installation script
param: string install|upgrade

confirmDialog($params)   X-Ref
Ask for user input, confirm the answers and continue until the user is satisfied

param: array an array of arrays, format array('name' => 'paramname', 'prompt' =>
return: array

userDialog($command, $prompts, $types = array()   X-Ref
Pas de description

userConfirm($prompt, $default = 'yes')   X-Ref
Pas de description

startTable($params = array()   X-Ref
Pas de description

_startTable($params = array()   X-Ref
Pas de description

tableRow($columns, $rowparams = array()   X-Ref
Pas de description

_tableRow($columns, $rowparams = array()   X-Ref
Pas de description

endTable()   X-Ref
Pas de description

_endTable()   X-Ref
Pas de description

outputData($data, $command = '_default')   X-Ref
Pas de description

log($text, $append_crlf = true)   X-Ref
Pas de description

bold($text)   X-Ref
Pas de description



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7