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

Class: PEAR_RemoteInstaller

Source Location: /PEAR_RemoteInstaller-0.3.1/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.1

Copyright:

  • 2005-2006 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

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


[ Top ]


Method Detail

ftpInstall   [line 163]

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 90]

void ftpUninstall( PEAR_PackageFile_v1|PEAR_PackageFile_v2 $pkg)

  • Access: public

Parameters:

PEAR_PackageFile_v1|PEAR_PackageFile_v2   $pkg   — 

[ Top ]

_deletePackageFiles   [line 56]

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 Thu, 10 Dec 2015 05:42:56 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.