PEAR
[ class tree: PEAR ] [ index: PEAR ] [ all elements ]

Class: PEAR_Task_Replace_rw

Source Location: /PEAR-1.6.2/PEAR/Task/Replace/rw.php

Class Overview

PEAR_Task_Common
   |
   --PEAR_Task_Replace
      |
      --PEAR_Task_Replace_rw

Abstracts the replace task xml.


Author(s):

Version:

  • Release: 1.6.2

Copyright:

  • 1997-2006 The PHP Group

Methods


Inherited Variables

Inherited Methods

Class: PEAR_Task_Replace

PEAR_Task_Replace::init()
Initialize a task instance with the parameters
PEAR_Task_Replace::startSession()
Do a package.xml 1.0 replacement, with additional package-info fields available
PEAR_Task_Replace::validateXml()
Validate the raw xml at parsing-time.

Class: PEAR_Task_Common

PEAR_Task_Common::PEAR_Task_Common()
PEAR_Task_Common::hasPostinstallTasks()
PEAR_Task_Common::init()
Initialize a task instance with the parameters
PEAR_Task_Common::isScript()
Determines whether a role is a script
PEAR_Task_Common::run()
This method is used to process each of the tasks for a particular multiple class type. Simple tasks need not implement this method.
PEAR_Task_Common::runPostinstallTasks()
PEAR_Task_Common::startSession()
Begin a task processing session. All multiple tasks will be processed after each file has been successfully installed, all simple tasks should perform their task here and return any errors using the custom throwError() method to allow forward compatibility
PEAR_Task_Common::throwError()
PEAR_Task_Common::validateXml()
Validate the basic contents of a task tag.

Class Details

[line 37]
Abstracts the replace task xml.


[ Top ]


Method Detail

PEAR_Task_Replace_rw (Constructor)   [line 39]

PEAR_Task_Replace_rw PEAR_Task_Replace_rw( &$pkg, &$config, &$logger, $fileXml)


Parameters:

   &$pkg   — 
   &$config   — 
   &$logger   — 
   $fileXml   — 

[ Top ]

getName   [line 57]

void getName( )


[ Top ]

getXml   [line 62]

void getXml( )


[ Top ]

setInfo   [line 52]

void setInfo( $from, $to, $type)


Parameters:

   $from   — 
   $to   — 
   $type   — 

[ Top ]

validate   [line 47]

void validate( )


[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:09:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.