Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Config_Writer_FileAbstract Class Reference

Public Member Functions

 setFilename ($filename)
 Set the target filename.
 
 setExclusiveLock ($exclusiveLock)
 Set wether to exclusively lock the file or not.
 
 write ($filename=null, Zend_Config $config=null, $exclusiveLock=null)
 Write configuration to file.
 
 render ()
 Render a Zend_Config into a config file string.
 
- Public Member Functions inherited from Zend_Config_Writer
 __construct (array $options=null)
 Create a new adapter.
 
 setConfig (Zend_Config $config)
 Set options via a Zend_Config instance.
 
 setOptions (array $options)
 Set options via an array.
 
 write ()
 Write a Zend_Config object to it's target.
 

Protected Attributes

 $_filename = null
 
 $_exclusiveLock = false
 
- Protected Attributes inherited from Zend_Config_Writer
 $_skipOptions
 
 $_config = null
 

Member Function Documentation

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
setExclusiveLock (   $exclusiveLock)

Set wether to exclusively lock the file or not.

Parameters
boolean$exclusiveLock
Returns
Zend_Config_Writer_Array
setFilename (   $filename)

Set the target filename.

Parameters
string$filename
Returns
Zend_Config_Writer_Array
write (   $filename = null,
Zend_Config  $config = null,
  $exclusiveLock = null 
)

Write configuration to file.

Parameters
string$filename
Zend_Config$config
bool$exclusiveLock
Returns
void

Member Data Documentation

$_exclusiveLock = false
protected
$_filename = null
protected