source: branches/version-2_13-dev/data/module/PEAR/Task/Windowseol/rw.php @ 23125

Revision 23125, 1.4 KB checked in by kimoto, 11 years ago (diff)

#2275 PEAR更新
不要なrequire_onceの削除
レガシーなPEARモジュールは使わない
SearchReplace?.phpのパスが間違っているので修正

Line 
1<?php
2/**
3 * <tasks:windowseol> - read/write version
4 *
5 * PHP versions 4 and 5
6 *
7 * @category   pear
8 * @package    PEAR
9 * @author     Greg Beaver <cellog@php.net>
10 * @copyright  1997-2009 The Authors
11 * @license    http://opensource.org/licenses/bsd-license.php New BSD License
12 * @version    CVS: $Id: rw.php 313023 2011-07-06 19:17:11Z dufuz $
13 * @link       http://pear.php.net/package/PEAR
14 * @since      File available since Release 1.4.0a10
15 */
16/**
17 * Base class
18 */
19require_once 'PEAR/Task/Windowseol.php';
20/**
21 * Abstracts the windowseol task xml.
22 * @category   pear
23 * @package    PEAR
24 * @author     Greg Beaver <cellog@php.net>
25 * @copyright  1997-2009 The Authors
26 * @license    http://opensource.org/licenses/bsd-license.php New BSD License
27 * @version    Release: 1.9.4
28 * @link       http://pear.php.net/package/PEAR
29 * @since      Class available since Release 1.4.0a10
30 */
31class PEAR_Task_Windowseol_rw extends PEAR_Task_Windowseol
32{
33    function PEAR_Task_Windowseol_rw(&$pkg, &$config, &$logger, $fileXml)
34    {
35        parent::PEAR_Task_Common($config, $logger, PEAR_TASK_PACKAGE);
36        $this->_contents = $fileXml;
37        $this->_pkg = &$pkg;
38        $this->_params = array();
39    }
40
41    function validate()
42    {
43        return true;
44    }
45
46    function getName()
47    {
48        return 'windowseol';
49    }
50
51    function getXml()
52    {
53        return '';
54    }
55}
56?>
Note: See TracBrowser for help on using the repository browser.