![]() |
Bearsampp 2026.9.23
|
Public Member Functions | |
| init ($xml, $attribs, $lastVersion=null) | |
| startSession ($pkg, $contents, $dest) | |
| Public Member Functions inherited from PEAR_Task_Common | |
| __construct (&$config, &$logger, $phase) | |
| isScript () | |
| throwError ($msg, $code=-1) | |
Static Public Member Functions | |
| static | validateXml ($pkg, $xml, $config, $fileXml) |
| Static Public Member Functions inherited from PEAR_Task_Common | |
| static | hasPostinstallTasks () |
| static | run ($tasks) |
| static | runPostinstallTasks () |
Data Fields | |
| $_replacements | |
| $phase = PEAR_TASK_PACKAGE | |
| $type = 'simple' | |
| Data Fields inherited from PEAR_Task_Common | |
| $logger | |
| $phase = PEAR_TASK_INSTALL | |
Additional Inherited Members | |
| Protected Attributes inherited from PEAR_Task_Common | |
| $config | |
| $installphase | |
| $registry | |
| $type = 'simple' | |
Definition at line 31 of file Windowseol.php.
| init | ( | $xml, | |
| $attribs, | |||
| $lastVersion = null ) |
Initialize a task instance with the parameters
| array | raw, parsed xml |
| unused | |
| unused |
Reimplemented from PEAR_Task_Common.
Definition at line 59 of file Windowseol.php.
| startSession | ( | $pkg, | |
| $contents, | |||
| $dest ) |
Replace all line endings with windows line endings
See validateXml() source for the complete list of allowed fields
| PEAR_PackageFile_v1|PEAR_PackageFile_v2 | |
| string | file contents |
| string | the eventual final file location (informational only) |
Reimplemented from PEAR_Task_Common.
Definition at line 74 of file Windowseol.php.
|
static |
Validate the raw xml at parsing-time.
| PEAR_PackageFile_v2 | |
| array | raw, parsed xml |
| PEAR_Config |
Reimplemented from PEAR_Task_Common.
Definition at line 44 of file Windowseol.php.
References PEAR_Task_Common\$config, and PEAR_TASK_ERROR_INVALID.
| $_replacements |
Definition at line 35 of file Windowseol.php.
| $phase = PEAR_TASK_PACKAGE |
Definition at line 34 of file Windowseol.php.
| $type = 'simple' |
Definition at line 33 of file Windowseol.php.