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

Class: PEAR_RemoteInstaller

Source Location: /PEAR_RemoteInstaller-0.3.2/PEAR/RemoteInstaller.php

Class Overview

PEAR_Installer
   |
   --PEAR_RemoteInstaller

Administration class used to install PEAR packages and maintain the installed package database.


Author(s):

Version:

  • Release: 0.3.2

Copyright:

  • 2005-2009 The Authors

Methods


Inherited Variables

Inherited Methods


Class Details

[line 38]
Administration class used to install PEAR packages and maintain the installed package database.


[ Top ]


Method Detail

ftpInstall   [line 158]

void ftpInstall( PEAR_PackageFile_v1|PEAR_PackageFile_v2 $pkg)

Upload an installed package - does not work with register-only packages!
  • Access: public

Parameters:

PEAR_PackageFile_v1|PEAR_PackageFile_v2   $pkg     

[ Top ]

ftpUninstall   [line 84]

void ftpUninstall( PEAR_PackageFile_v1|PEAR_PackageFile_v2 $pkg)

  • Access: public

Parameters:

PEAR_PackageFile_v1|PEAR_PackageFile_v2   $pkg     

[ Top ]

_deletePackageFiles   [line 50]

bool _deletePackageFiles( string $package, [string $channel = false], [bool $backup = false])

Delete a package's installed files, does not remove empty directories.
  • Return: TRUE on success, or a PEAR error on failure
  • Access: protected

Parameters:

string   $package     package name
string   $channel     channel name
bool   $backup     if true, then files are backed up first

[ Top ]


Documentation generated on Fri, 13 Apr 2012 05:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.