Subversion Repositories Applications.gtt

Rev

Rev 94 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 94 Rev 187
Line 2... Line 2...
2
/**
2
/**
3
 * <tasks:windowseol> - read/write version
3
 * <tasks:windowseol> - read/write version
4
 *
4
 *
5
 * PHP versions 4 and 5
5
 * PHP versions 4 and 5
6
 *
6
 *
7
 * LICENSE: This source file is subject to version 3.0 of the PHP license
-
 
8
 * that is available through the world-wide-web at the following URI:
-
 
9
 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
-
 
10
 * the PHP License and are unable to obtain it through the web, please
-
 
11
 * send a note to license@php.net so we can mail you a copy immediately.
-
 
12
 *
-
 
13
 * @category   pear
7
 * @category  pear
14
 * @package    PEAR
8
 * @package   PEAR
15
 * @author     Greg Beaver <cellog@php.net>
9
 * @author    Greg Beaver <cellog@php.net>
16
 * @copyright  1997-2006 The PHP Group
10
 * @copyright 1997-2009 The Authors
17
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
11
 * @license   http://opensource.org/licenses/bsd-license.php New BSD License
18
 * @version    CVS: $Id: rw.php,v 1.4 2006/01/06 04:47:37 cellog Exp $
-
 
19
 * @link       http://pear.php.net/package/PEAR
12
 * @link      http://pear.php.net/package/PEAR
20
 * @since      File available since Release 1.4.0a10
13
 * @since     File available since Release 1.4.0a10
21
 */
14
 */
22
/**
15
/**
23
 * Base class
16
 * Base class
24
 */
17
 */
25
require_once 'PEAR/Task/Windowseol.php';
18
require_once 'PEAR/Task/Windowseol.php';
26
/**
19
/**
27
 * Abstracts the windowseol task xml.
20
 * Abstracts the windowseol task xml.
-
 
21
 *
28
 * @category   pear
22
 * @category  pear
29
 * @package    PEAR
23
 * @package   PEAR
30
 * @author     Greg Beaver <cellog@php.net>
24
 * @author    Greg Beaver <cellog@php.net>
31
 * @copyright  1997-2006 The PHP Group
25
 * @copyright 1997-2009 The Authors
32
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
26
 * @license   http://opensource.org/licenses/bsd-license.php New BSD License
33
 * @version    Release: 1.5.1
27
 * @version   Release: 1.10.1
34
 * @link       http://pear.php.net/package/PEAR
28
 * @link      http://pear.php.net/package/PEAR
35
 * @since      Class available since Release 1.4.0a10
29
 * @since     Class available since Release 1.4.0a10
36
 */
30
 */
37
class PEAR_Task_Windowseol_rw extends PEAR_Task_Windowseol
31
class PEAR_Task_Windowseol_rw extends PEAR_Task_Windowseol
38
{
32
{
39
    function PEAR_Task_Windowseol_rw(&$pkg, &$config, &$logger, $fileXml)
33
    function __construct(&$pkg, &$config, &$logger, $fileXml)
40
    {
34
    {
41
        parent::PEAR_Task_Common($config, $logger, PEAR_TASK_PACKAGE);
35
        parent::__construct($config, $logger, PEAR_TASK_PACKAGE);
42
        $this->_contents = $fileXml;
36
        $this->_contents = $fileXml;
43
        $this->_pkg = &$pkg;
37
        $this->_pkg = &$pkg;
44
        $this->_params = array();
38
        $this->_params = array();
45
    }
39
    }
Line 46... Line 40...
46
 
40
 
47
    function validate()
41
    public function validate()
48
    {
42
    {
49
        return true;
43
        return true;
Line 50... Line 44...
50
    }
44
    }
51
 
45
 
52
    function getName()
46
    public function getName()
53
    {
47
    {
Line 54... Line 48...
54
        return 'windowseol';
48
        return 'windowseol';
55
    }
49
    }
56
 
50
 
57
    function getXml()
51
    public function getXml()
58
    {
52
    {
59
        return '';
-
 
60
    }
53
        return '';
-
 
54
    }