[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

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

<tasks:windowseol> 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: Windowseol.php,v 1.7 2006/01/06 04:47:37 cellog Exp $
Poids: 83 lignes (3 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_Windowseol:: (3 méthodes):
  validateXml()
  init()
  startSession()


Classe: PEAR_Task_Windowseol  - X-Ref

Implements the windows line endsings 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
Replace all line endings with windows line endings

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