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

Class: PEAR_Task_Postinstallscript_rw

Source Location: /PEAR-1.4.0b1/PEAR/Task/Postinstallscript/rw.php

Class Overview

PEAR_Task_Common
   |
   --PEAR_Task_Postinstallscript
      |
      --PEAR_Task_Postinstallscript_rw

Abstracts the postinstallscript file task xml.


Author(s):

Version:

  • Release: 1.4.0b1

Copyright:

  • 1997-2005 The PHP Group

Methods


Inherited Variables

Inherited Methods

Class: PEAR_Task_Postinstallscript

PEAR_Task_Postinstallscript::init()
Initialize a task instance with the parameters
PEAR_Task_Postinstallscript::run()
No longer used
PEAR_Task_Postinstallscript::startSession()
Unlike other tasks, the installed file name is passed in instead of the file contents,
PEAR_Task_Postinstallscript::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::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::validXml()
Validate the basic contents of a task tag.

Class Details

[line 37]
Abstracts the postinstallscript file task xml.


[ Top ]


Method Detail

PEAR_Task_Postinstallscript_rw (Constructor)   [line 39]

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


Parameters:

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

[ Top ]

addConditionTypeGroup   [line 73]

void addConditionTypeGroup( $id, $oldgroup, $param, $value, [ $conditiontype = '='])


Parameters:

   $id   — 
   $oldgroup   — 
   $param   — 
   $value   — 
   $conditiontype   — 

[ Top ]

addParamGroup   [line 57]

void addParamGroup( $id, $params, [ $instructions = false])


Parameters:

   $id   — 
   $params   — 
   $instructions   — 

[ Top ]

getName   [line 52]

void getName( )


[ Top ]

getParam   [line 97]

void getParam( $name, $prompt, [ $type = 'string'], [ $default = null])

Use to set up a param tag for use in creating a paramgroup

Parameters:

   $name   — 
   $prompt   — 
   $type   — 
   $default   — 

[ Top ]

getXml   [line 88]

void getXml( )


[ Top ]

validate   [line 47]

void validate( )


[ Top ]


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