Метод |
Описание |
|
__call ( $m, $a ) |
|
|
__construct ( string $version, string $name = null, string $installPrefix = null ) |
Construct a Build object,. |
|
__set_state ( $data ) |
|
|
compareVersion ( $version ) |
|
|
export ( ) |
|
|
findByName ( string $name ) : Build |
Find a installed build by name,
currently a $name is a php version, but in future we may have customized
name for users. |
|
getBinDirectory ( ) |
|
|
getBuildLogPath ( ) |
|
|
getConfigDirectory ( ) |
|
|
getCurrentConfigScanPath ( ) |
Returns {prefix}/var/db path. |
|
getEtcDirectory ( ) |
|
|
getIdentifier ( ) |
Returns a build identifier. |
|
getInstallPrefix ( ) |
|
|
getName ( ) |
|
|
getPath ( $subpath ) |
|
|
getSourceDirectory ( ) |
|
|
getSourceExtensionDirectory ( ) |
|
|
getState ( ) |
|
|
getStateFile ( ) |
Where we store the last finished state, currently for:. |
|
getVarConfigDirectory ( ) |
|
|
getVarDirectory ( ) |
|
|
getVersion ( ) |
|
|
import ( $data ) |
|
|
isBuildable ( ) |
|
|
loadFile ( $file ) |
|
|
serialize ( ) |
XXX: Make sure Serializable interface works for php 5.3. |
|
setBuildSettings ( BuildSettings $settings ) |
|
|
setConfigDirectory ( $directory ) |
|
|
setInstallPrefix ( $prefix ) |
|
|
setName ( $name ) |
|
|
setOSName ( $osName ) |
|
|
setOSRelease ( $osRelease ) |
|
|
setSourceDirectory ( $dir ) |
PHP Source directory, this method returns value only when source directory is set. |
|
setState ( $state ) |
|
|
setVersion ( $version ) |
|
|
unserialize ( $serialized ) |
|
|
writeFile ( $file ) |
|
|