Subversion Repositories Applications.gtt

Rev

Rev 94 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
94 jpm 1
<?php
2
/**
3
 * <tasks:unixeol> - read/write version
4
 *
5
 * PHP versions 4 and 5
6
 *
187 mathias 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
 * @link      http://pear.php.net/package/PEAR
13
 * @since     File available since Release 1.4.0a10
94 jpm 14
 */
15
/**
16
 * Base class
17
 */
18
require_once 'PEAR/Task/Unixeol.php';
19
/**
20
 * Abstracts the unixeol task xml.
21
 * @category   pear
22
 * @package    PEAR
23
 * @author     Greg Beaver <cellog@php.net>
187 mathias 24
 * @copyright  1997-2009 The Authors
25
 * @license    http://opensource.org/licenses/bsd-license.php New BSD License
26
 * @version    Release: 1.10.1
94 jpm 27
 * @link       http://pear.php.net/package/PEAR
28
 * @since      Class available since Release 1.4.0a10
29
 */
30
class PEAR_Task_Unixeol_rw extends PEAR_Task_Unixeol
31
{
187 mathias 32
    function __construct(&$pkg, &$config, &$logger, $fileXml)
94 jpm 33
    {
187 mathias 34
        parent::__construct($config, $logger, PEAR_TASK_PACKAGE);
94 jpm 35
        $this->_contents = $fileXml;
36
        $this->_pkg = &$pkg;
37
        $this->_params = array();
38
    }
39
 
187 mathias 40
    public function validate()
94 jpm 41
    {
42
        return true;
43
    }
44
 
187 mathias 45
    public function getName()
94 jpm 46
    {
47
        return 'unixeol';
48
    }
49
 
187 mathias 50
    public function getXml()
94 jpm 51
    {
52
        return '';
53
    }
54
}
187 mathias 55
?>