Post-install script structure

PEAR Manual


PEAR::PEAR()

PEAR::PEAR() -- constructor (package developer related)

Synopsis

      require_once 'PEAR.php';
     

void PEAR::PEAR ( string $errorClass = PEAR_Error )

Description

If you want to use the deconstructor functionality provide by PEAR, you have to call $this->PEAR() in the constructor of your class.

Parameter

  • string $errorClass - the name of the error class to use.

Note

This function can be called statically.




Post-install script structure

PEAR Manual