[ Index ] |
|
Code source de PHP PEAR 1.4.5 |
[Code source] [Imprimer] [Statistiques]
<tasks:unixeol> 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: Unixeol.php,v 1.8 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 |
PEAR_Task_Unixeol:: (3 méthodes):
validateXml()
init()
startSession()
Classe: PEAR_Task_Unixeol - X-Ref
Implements the unix line endings 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 line endings customized for the current OS 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 |