diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-05-11 17:57:55 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-05-11 17:57:55 +0200 |
commit | 9c2f1051646f1dfb2615065d79d9a76410152b1a (patch) | |
tree | aeb2812f7f37fb58bc6920cd2b3ccdf08d9c1eec /3rdparty/PEAR/Task/Unixeol/rw.php | |
parent | 347ce2aafada161849dad8593100c40e14c641ce (diff) | |
download | nextcloud-server-9c2f1051646f1dfb2615065d79d9a76410152b1a.tar.gz nextcloud-server-9c2f1051646f1dfb2615065d79d9a76410152b1a.zip |
update PEAR to 1.9.4
Diffstat (limited to '3rdparty/PEAR/Task/Unixeol/rw.php')
-rw-r--r-- | 3rdparty/PEAR/Task/Unixeol/rw.php | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/3rdparty/PEAR/Task/Unixeol/rw.php b/3rdparty/PEAR/Task/Unixeol/rw.php new file mode 100644 index 00000000000..b2ae5fa5cbd --- /dev/null +++ b/3rdparty/PEAR/Task/Unixeol/rw.php @@ -0,0 +1,56 @@ +<?php +/** + * <tasks:unixeol> - read/write version + * + * PHP versions 4 and 5 + * + * @category pear + * @package PEAR + * @author Greg Beaver <cellog@php.net> + * @copyright 1997-2009 The Authors + * @license http://opensource.org/licenses/bsd-license.php New BSD License + * @version CVS: $Id: rw.php 313023 2011-07-06 19:17:11Z dufuz $ + * @link http://pear.php.net/package/PEAR + * @since File available since Release 1.4.0a10 + */ +/** + * Base class + */ +require_once 'PEAR/Task/Unixeol.php'; +/** + * Abstracts the unixeol task xml. + * @category pear + * @package PEAR + * @author Greg Beaver <cellog@php.net> + * @copyright 1997-2009 The Authors + * @license http://opensource.org/licenses/bsd-license.php New BSD License + * @version Release: 1.9.4 + * @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 getName() + { + return 'unixeol'; + } + + function getXml() + { + return ''; + } +} +?>
\ No newline at end of file |