Bearsampp
2026.9.23
Toggle main menu visibility
Loading...
Searching...
No Matches
rw.php
Go to the documentation of this file.
1
<?php
18
require_once
'PEAR/Task/Replace.php'
;
30
class
PEAR_Task_Replace_rw
extends
PEAR_Task_Replace
31
{
32
public
function
__construct
(&$pkg, &
$config
, &
$logger
, $fileXml)
33
{
34
parent::__construct(
$config
,
$logger
,
PEAR_TASK_PACKAGE
);
35
$this->_contents = $fileXml;
36
$this->_pkg = &$pkg;
37
$this->_params = array();
38
}
39
40
public
function
validate
()
41
{
42
return
$this->
validateXml
($this->_pkg, $this->_params, $this->config, $this->_contents);
43
}
44
45
public
function
setInfo
($from, $to,
$type
)
46
{
47
$this->_params = array(
'attribs'
=> array(
'from'
=> $from,
'to'
=> $to,
'type'
=>
$type
));
48
}
49
50
public
function
getName
()
51
{
52
return
'replace'
;
53
}
54
55
public
function
getXml
()
56
{
57
return
$this->_params;
58
}
59
}
PEAR_TASK_PACKAGE
const PEAR_TASK_PACKAGE
Definition
Common.php:23
PEAR_Task_Common\$config
$config
Definition
Common.php:76
PEAR_Task_Common\$logger
$logger
Definition
Common.php:84
PEAR_Task_Replace_rw
Definition
rw.php:31
PEAR_Task_Replace_rw\validate
validate()
Definition
rw.php:40
PEAR_Task_Replace_rw\getXml
getXml()
Definition
rw.php:55
PEAR_Task_Replace_rw\getName
getName()
Definition
rw.php:50
PEAR_Task_Replace_rw\__construct
__construct(&$pkg, &$config, &$logger, $fileXml)
Definition
rw.php:32
PEAR_Task_Replace_rw\setInfo
setInfo($from, $to, $type)
Definition
rw.php:45
PEAR_Task_Replace
Definition
Replace.php:31
PEAR_Task_Replace\$type
$type
Definition
Replace.php:32
PEAR_Task_Replace\validateXml
static validateXml($pkg, $xml, $config, $fileXml)
Definition
Replace.php:43
sandbox
core
libs
php
pear
pear
PEAR
Task
Replace
rw.php
Generated by
1.17.0