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

Class: PEAR_Task_Replace_rw

Source Location: /PEAR-1.9.5/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.9.5

Copyright:

  • 1997-2009 The Authors

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 31]
Abstracts the replace task xml.


[ Top ]


Method Detail

PEAR_Task_Replace_rw (Constructor)   [line 33]

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


Parameters:

   &$pkg     
   &$config     
   &$logger     
   $fileXml     

[ Top ]

getName   [line 51]

void getName( )


[ Top ]

getXml   [line 56]

void getXml( )


[ Top ]

setInfo   [line 46]

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


Parameters:

   $from     
   $to     
   $type     

[ Top ]

validate   [line 41]

void validate( )


[ Top ]


Documentation generated on Sat, 12 Jul 2014 14:01:20 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.