Definition at line 33 of file FileAbstract.php.
◆ render()
Render a Zend_Config into a config file string.
- Since
- 1.10
- Todo:
- For 2.0 this should be redone into an abstract method.
- Returns
- string
Definition at line 130 of file FileAbstract.php.
◆ setExclusiveLock()
setExclusiveLock |
( |
|
$exclusiveLock | ) |
|
Set wether to exclusively lock the file or not
- Parameters
-
- Returns
- Zend_Config_Writer_Array
Definition at line 68 of file FileAbstract.php.
70 $this->_exclusiveLock = $exclusiveLock;
◆ setFilename()
Set the target filename
- Parameters
-
- Returns
- Zend_Config_Writer_Array
Definition at line 55 of file FileAbstract.php.
57 $this->_filename = $filename;
◆ write()
write |
( |
|
$filename = null , |
|
|
Zend_Config |
$config = null , |
|
|
|
$exclusiveLock = null |
|
) |
| |
Write configuration to file.
- Parameters
-
- Returns
- void
Definition at line 83 of file FileAbstract.php.
85 if ($filename !==
null) {
93 if ($exclusiveLock !==
null) {
97 if ($this->_filename ===
null) {
98 #require_once 'Zend/Config/Exception.php'; 102 if ($this->_config ===
null) {
103 #require_once 'Zend/Config/Exception.php'; 107 $configString = $this->
render();
111 if ($this->_exclusiveLock) {
118 #require_once 'Zend/Config/Exception.php';
setExclusiveLock($exclusiveLock)
setConfig(Zend_Config $config)
◆ $_exclusiveLock
◆ $_filename
The documentation for this class was generated from the following file: