PHP Class Zend_Config_Writer_FileAbstract

Inheritance: extends Zend_Config_Writer
Afficher le fichier Open project: dbpatch/dbpatch

Protected Properties

Свойство Type Description
$_exclusiveLock boolean Wether to exclusively lock the file or not
$_filename string Filename to write to

Méthodes publiques

Méthode Description
render ( ) : string Render a Zend_Config into a config file string.
setExclusiveLock ( boolean $exclusiveLock ) : Zend_Config_Writer_Array Set wether to exclusively lock the file or not
setFilename ( string $filename ) : Zend_Config_Writer_Array Set the target filename
write ( string $filename = null, Zend_Config $config = null, boolean $exclusiveLock = null ) : void Write configuration to file.

Method Details

render() public méthode

Render a Zend_Config into a config file string.
Since: 1.10
public render ( ) : string
Résultat string

setExclusiveLock() public méthode

Set wether to exclusively lock the file or not
public setExclusiveLock ( boolean $exclusiveLock ) : Zend_Config_Writer_Array
$exclusiveLock boolean
Résultat Zend_Config_Writer_Array

setFilename() public méthode

Set the target filename
public setFilename ( string $filename ) : Zend_Config_Writer_Array
$filename string
Résultat Zend_Config_Writer_Array

write() public méthode

Write configuration to file.
public write ( string $filename = null, Zend_Config $config = null, boolean $exclusiveLock = null ) : void
$filename string
$config Zend_Config
$exclusiveLock boolean
Résultat void

Property Details

$_exclusiveLock protected_oe property

Wether to exclusively lock the file or not
protected bool $_exclusiveLock
Résultat boolean

$_filename protected_oe property

Filename to write to
protected string $_filename
Résultat string