PHP Class DbPatch_Command_Patch_PHP_Environment

Author: Sandy Pleyte
Author: Martijn De Letter
Datei anzeigen Open project: dbpatch/dbpatch Class Usage Examples

Protected Properties

Property Type Description
$config null | DbPatch_Core_Config
$db null | Zend_Db_Adapter_Abstract
$writer null | DbPatch_Core_Writer

Public Methods

Method Description
getConfig ( ) : DbPatch_Core_Config | null
getDb ( ) : null | Zend_Db_Adapter_Abstract
getWriter ( ) : DbPatch_Core_Writer | null
install ( $filename ) Install the php patch
setConfig ( DbPatch_Core_Config $config ) : DbPatch_Command_Patch_Abstract
setDb ( Zend_Db_Adapter_Abstract $db ) : DbPatch_Command_Patch_Abstract
setWriter ( DbPatch_Core_Writer $writer ) : DbPatch_Command_Patch_Abstract

Method Details

getConfig() public method

public getConfig ( ) : DbPatch_Core_Config | null
return DbPatch_Core_Config | null

getDb() public method

public getDb ( ) : null | Zend_Db_Adapter_Abstract
return null | Zend_Db_Adapter_Abstract

getWriter() public method

public getWriter ( ) : DbPatch_Core_Writer | null
return DbPatch_Core_Writer | null

install() public method

Install the php patch
public install ( $filename )

setConfig() public method

public setConfig ( DbPatch_Core_Config $config ) : DbPatch_Command_Patch_Abstract
$config DbPatch_Core_Config
return DbPatch_Command_Patch_Abstract

setDb() public method

public setDb ( Zend_Db_Adapter_Abstract $db ) : DbPatch_Command_Patch_Abstract
$db Zend_Db_Adapter_Abstract
return DbPatch_Command_Patch_Abstract

setWriter() public method

public setWriter ( DbPatch_Core_Writer $writer ) : DbPatch_Command_Patch_Abstract
$writer DbPatch_Core_Writer
return DbPatch_Command_Patch_Abstract

Property Details

$config protected_oe property

protected null|DbPatch_Core_Config $config
return null | DbPatch_Core_Config

$db protected_oe property

protected null|Zend_Db_Adapter_Abstract $db
return null | Zend_Db_Adapter_Abstract

$writer protected_oe property

protected null|DbPatch_Core_Writer $writer
return null | DbPatch_Core_Writer