PHP Class PhpBrew\Extension\Extension

Inheritance: implements PhpBrew\Buildable
Mostrar archivo Open project: phpbrew/phpbrew Class Usage Examples

Protected Properties

Property Type Description
$configM4File config.m4 filename
$configureOptions ConfigureOption[] Contains [($name, $desc), .... ] pairs
$extensionName
$isZend
$name The extension package name The package name does not equal to the extension name. for example, "APCu" provides "apcu" instead of "APCu"
$sharedLibraryName The extension so name.
$sourceDirectory
$version

Public Methods

Method Description
__construct ( $name )
addConfigureOption ( ConfigureOption $opt )
findConfigM4File ( $dir )
getBuildLogPath ( )
getConfigFilePath ( )
getConfigM4File ( )
getConfigM4Path ( )
getConfigureOptions ( )
getExtensionName ( )
getName ( )
getSharedLibraryName ( )
getSharedLibraryPath ( )
getSourceDirectory ( )
getVersion ( )
isBuildable ( )
isInstalled ( ) : boolean Checks if extension.so file is in place.
isLoaded ( ) : boolean Checks if current extension is loaded.
isZend ( )
setExtensionName ( $name )
setName ( $name )
setSharedLibraryName ( $n )
setSourceDirectory ( $dir )
setVersion ( $version )
setZend ( $zendExtension = true )

Method Details

__construct() public method

public __construct ( $name )

addConfigureOption() public method

public addConfigureOption ( ConfigureOption $opt )
$opt ConfigureOption

findConfigM4File() public method

public findConfigM4File ( $dir )

getBuildLogPath() public method

public getBuildLogPath ( )

getConfigFilePath() public method

public getConfigFilePath ( )

getConfigM4File() public method

public getConfigM4File ( )

getConfigM4Path() public method

public getConfigM4Path ( )

getConfigureOptions() public method

public getConfigureOptions ( )

getExtensionName() public method

public getExtensionName ( )

getName() public method

public getName ( )

getSharedLibraryName() public method

getSharedLibraryPath() public method

getSourceDirectory() public method

public getSourceDirectory ( )

getVersion() public method

public getVersion ( )

isBuildable() public method

public isBuildable ( )

isInstalled() public method

Checks if extension.so file is in place.
public isInstalled ( ) : boolean
return boolean

isLoaded() public method

Checks if current extension is loaded.
public isLoaded ( ) : boolean
return boolean

isZend() public method

public isZend ( )

setExtensionName() public method

public setExtensionName ( $name )

setName() public method

public setName ( $name )

setSharedLibraryName() public method

public setSharedLibraryName ( $n )

setSourceDirectory() public method

public setSourceDirectory ( $dir )

setVersion() public method

public setVersion ( $version )

setZend() public method

public setZend ( $zendExtension = true )

Property Details

$configM4File protected_oe property

config.m4 filename
protected $configM4File

$configureOptions protected_oe property

Contains [($name, $desc), .... ] pairs
protected ConfigureOption[],PhpBrew\Extension $configureOptions
return ConfigureOption[]

$extensionName protected_oe property

protected $extensionName

$isZend protected_oe property

protected $isZend

$name protected_oe property

The extension package name The package name does not equal to the extension name. for example, "APCu" provides "apcu" instead of "APCu"
protected $name

$sharedLibraryName protected_oe property

The extension so name.
protected $sharedLibraryName

$sourceDirectory protected_oe property

protected $sourceDirectory

$version protected_oe property

protected $version