| [ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
<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: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
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 : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
|