Methods Summary | ||
---|---|---|
public
|
||
public
|
#
list_installed_packages( )
List PEAR packages installed for account
Keys-
is_local (bool) : package is local to account
version (double): version number
|
|
public
|
#
package_description( string $mModule )
string get_pear_description (string)
Fetches the description for a PEAR package
|
|
public
|
#
list_remote_packages( )
array list_remote_packages (void)
Queries PEAR for all available PEAR packages, analogous to
running pear list-all from the command line.
|
|
public
|
||
public
|
||
public
|
#
list_channels( )
List all channels configured in PHP PEAR package manager
Sample response-
array(2) {
[0]=>
array(5) {
["channel"]=> string(12) "pear.php.net"
["summary"]=> string(40) "PHP Extension and Application Repository"
}
[1]=>
array(5) {
["channel"]=> string(12) "pecl.php.net"
["summary"]=> string(31) "PHP Extension Community Library"
}
}
|
|
public
|
#
get_channel_info( string $channel )
Retrieve PEAR channel information
Basic wrapper to pear channel-info <channel> command
Sample response-
array(4) {
["server"]=>
string(12) "pear.php.net"
["alias"]=>
string(4) "pear"
["summary"]=>
string(40) "PHP Extension and Application Repository"
["version"]=>
NULL
}
|
|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
migrate_directives( string $hostname , string $path = '', string $from = NULL )
Migrate PHP directives to configured engine format
|
|
public
|
||
public
|
||
public
|
Methods inherited from Module\Support\Php |
---|
getPersonalities() ,
personalityRoot() ,
personalityExists() ,
getPersonalityPathFromPersonality() ,
getPersonalityPort()
|
Methods inherited from Module\Skeleton\Standard |
---|
__construct() ,
setUserParameters() ,
autoloadModule() ,
__wakeup() ,
_invoke() ,
__debugInfo() ,
getExportedFunctions() ,
_reset() ,
cleanUserParameters() ,
query()
|
Constants Summary | ||
---|---|---|
public
string
|
COMPOSER_LOCATION
|
#
'/usr/share/pear/composer.phar'
|
Constants inherited from Module\Skeleton\Standard |
---|
DEPENDENCY_MAP
|
Properties Summary | ||
---|---|---|
public
|
$exportedFunctions
|
#
array (
'*' => 2,
'version' => 15,
)
|
Properties inherited from Module\Skeleton\Standard |
---|
$exportedFunctions ,
$username ,
$password ,
$domain ,
$user_id ,
$group_id ,
$permission_level ,
$session_id ,
$site ,
$site_id
|