[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

/PEAR/Task/Postinstallscript/ -> rw.php (sommaire)

<tasks:postinstallscript> - read/write version PHP versions 4 and 5

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: rw.php,v 1.11 2006/01/06 04:47:37 cellog Exp $
Poids: 176 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 PEAR/Task/Postinstallscript.php

Définit 1 class

PEAR_Task_Postinstallscript_rw:: (7 méthodes):
  PEAR_Task_Postinstallscript_rw()
  validate()
  getName()
  addParamGroup()
  addConditionTypeGroup()
  getXml()
  getParam()


Classe: PEAR_Task_Postinstallscript_rw  - X-Ref

Abstracts the postinstallscript file task xml.

PEAR_Task_Postinstallscript_rw(&$pkg, &$config, &$logger, $fileXml)   X-Ref
Enter description here...

param: PEAR_PackageFile_v2_rw $pkg
param: PEAR_Config $config
param: PEAR_Frontend $logger
param: array $fileXml
return: PEAR_Task_Postinstallscript_rw

validate()   X-Ref
Pas de description

getName()   X-Ref
Pas de description

addParamGroup($id, $params = false, $instructions = false)   X-Ref
add a simple <paramgroup> to the post-install script

Order is significant, so call this method in the same
sequence the users should see the paramgroups.  The $params
parameter should either be the result of a call to {@link getParam()}
or an array of calls to getParam().

Use {@link addConditionTypeGroup()} to add a <paramgroup> containing
a <conditiontype> tag
param: string $id <paramgroup> id as seen by the script
param: array|false $params array of getParam() calls, or false for no params
param: string|false $instructions

addConditionTypeGroup($id, $oldgroup, $param, $value, $conditiontype = '=',$params = false, $instructions = false)   X-Ref
add a complex <paramgroup> to the post-install script with conditions

This inserts a <paramgroup> with

Order is significant, so call this method in the same
sequence the users should see the paramgroups.  The $params
parameter should either be the result of a call to {@link getParam()}
or an array of calls to getParam().

Use {@link addParamGroup()} to add a simple <paramgroup>

param: string $id <paramgroup> id as seen by the script
param: string $oldgroup <paramgroup> id of the section referenced by
param: string $param name of the <param> from the older section referenced
param: string $value value to match of the parameter
param: string $conditiontype one of '=', '!=', 'preg_match'
param: array|false $params array of getParam() calls, or false for no params
param: string|false $instructions

getXml()   X-Ref
Pas de description

getParam($name, $prompt, $type = 'string', $default = null)   X-Ref
Use to set up a param tag for use in creating a paramgroup




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