예제 #1
0
 /**
  * Enter description here...
  *
  * @param PEAR_PackageFile_v2_rw $pkg
  * @param PEAR_Config $config
  * @param PEAR_Frontend $logger
  * @param array $fileXml
  * @return PEAR_Task_Postinstallscript_rw
  */
 function PEAR_Task_Postinstallscript_rw(&$pkg, &$config, &$logger, $fileXml)
 {
     parent::PEAR_Task_Common($config, $logger, PEAR_TASK_PACKAGE);
     $this->_contents = $fileXml;
     $this->_pkg = &$pkg;
     $this->_params = array();
 }
예제 #2
0
 /**
  * Enter description here...
  *
  * @param PEAR_PackageFile_v2_rw $pkg
  * @param PEAR_Config $config
  * @param PEAR_Frontend $logger
  * @param array $fileXml
  * @return PEAR_Task_Postinstallscript_rw
  */
 function __construct(&$pkg, &$config, &$logger, $fileXml)
 {
     parent::PEAR_Task_Common($config, $logger, PEAR_TASK_PACKAGE);
     $this->_contents = $fileXml;
     $this->_pkg =& $pkg;
     $this->_params = array();
 }