cvs: pear-core /PEAR/Task/Unixeol rw.php /PEAR/Task/Windowseol rw.php

From: Date: Wed, 06 Apr 2005 01:39:29 +0000
Subject: cvs: pear-core /PEAR/Task/Unixeol rw.php /PEAR/Task/Windowseol rw.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-30951@lists.php.net to get a copy of this message
cellog Tue Apr 5 21:39:29 2005 EDT Added files: /pear-core/PEAR/Task/Unixeol rw.php /pear-core/PEAR/Task/Windowseol rw.php Log: add support for abstracted writeable file tasks (necessary for automated package.xml generation tools) http://cvs.php.net/co.php/pear-core/PEAR/Task/Unixeol/rw.php?r=1.1&p=1 Index: pear-core/PEAR/Task/Unixeol/rw.php +++ pear-core/PEAR/Task/Unixeol/rw.php <?php /** * <tasks:unixeol> - read/write version * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt. If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @category pear * @package PEAR * @author Greg Beaver <cellog@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version CVS: $Id: rw.php,v 1.1 2005/04/06 01:39:28 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a10 */ /** * Base class */ require_once 'PEAR/Task/Replace.php'; /** * Abstracts the unixeol task xml. * @category pear * @package PEAR * @author Greg Beaver <cellog@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version Release: @package_version@ * @link http://pear.php.net/package/PEAR * @since Class available since Release 1.4.0a10 */ class PEAR_Task_Unixeol_rw extends PEAR_Task_Unixeol { function PEAR_Task_Unixeol_rw(&$pkg, &$config, &$logger, $fileXml) { parent::PEAR_Task_Common($config, $logger, PEAR_TASK_PACKAGE); $this->_contents = $fileXml; $this->_pkg = &$pkg; $this->_params = array(); } function validate() { return true; } function getXml() { return ''; } } ?> http://cvs.php.net/co.php/pear-core/PEAR/Task/Windowseol/rw.php?r=1.1&p=1 Index: pear-core/PEAR/Task/Windowseol/rw.php +++ pear-core/PEAR/Task/Windowseol/rw.php <?php /** * <tasks:windowseol> - read/write version * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt. If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @category pear * @package PEAR * @author Greg Beaver <cellog@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version CVS: $Id: rw.php,v 1.1 2005/04/06 01:39:28 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a10 */ /** * Base class */ require_once 'PEAR/Task/Replace.php'; /** * Abstracts the windowseol task xml. * @category pear * @package PEAR * @author Greg Beaver <cellog@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version Release: @package_version@ * @link http://pear.php.net/package/PEAR * @since Class available since Release 1.4.0a10 */ class PEAR_Task_Windowseol_rw extends PEAR_Task_Windowseol { function PEAR_Task_Windowseol_rw(&$pkg, &$config, &$logger, $fileXml) { parent::PEAR_Task_Common($config, $logger, PEAR_TASK_PACKAGE); $this->_contents = $fileXml; $this->_pkg = &$pkg; $this->_params = array(); } function validate() { return true; } function getXml() { return ''; } } ?>

« previous php.pear.cvs (#30951) next »