[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

/PEAR/Task/ -> Replace.php (sommaire)

<tasks:replace> 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: Replace.php,v 1.15 2006/03/02 18:14:13 cellog Exp $
Poids: 182 lignes (7 kb)
Inclus ou requis: 2 fois
Référencé: 3 fois
Nécessite: 1 fichier
 PEAR/Task/Common.php

Définit 1 class

PEAR_Task_Replace:: (3 méthodes):
  validateXml()
  init()
  startSession()


Classe: PEAR_Task_Replace  - X-Ref

Implements the replace file task.

validateXml($pkg, $xml, &$config, $fileXml)   X-Ref
Validate the raw xml at parsing-time.

param: PEAR_PackageFile_v2
param: array raw, parsed xml
param: PEAR_Config

init($xml, $attribs)   X-Ref
Initialize a task instance with the parameters

param: array raw, parsed xml
param: unused

startSession($pkg, $contents, $dest)   X-Ref
Do a package.xml 1.0 replacement, with additional package-info fields available

See validateXml() source for the complete list of allowed fields
param: PEAR_PackageFile_v1|PEAR_PackageFile_v2
param: string file contents
param: string the eventual final file location (informational only)
return: string|false|PEAR_Error false to skip this file, PEAR_Error to fail



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