API Documentation

Config/Writer/FileAbstract.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Config
package
Writer
Classes
Zend_Config_Writer_FileAbstract

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Config_Writer_FileAbstract

Extends from
Zend_Config_Writer
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_package
version
$Id: FileAbstract.php 20096 2010-01-06 02:05:09Z bkarwin $
Properties
$_filename
$_exclusiveLock
Methods
setFilename
setExclusiveLock
write
render

Description

Abstract File Writer

Properties

$_exclusiveLock

boolean $_exclusiveLock = 'false'

Wether to exclusively lock the file or not

Details

$_exclusiveLock
boolean
visibility
protected
default
false
final
false
static
false

$_filename

string $_filename = 'null'

Filename to write to

Details

$_filename
string
visibility
protected
default
null
final
false
static
false

Methods

render

render( ) : string

Render a Zend_Config into a config file string.

Output
string
Details
visibility
public
final
false
static
false
since
1.10
todo
For 2.0 this should be redone into an abstract method.

setExclusiveLock

setExclusiveLock( boolean $exclusiveLock ) : Zend_Config_Writer_Array

Set wether to exclusively lock the file or not

Arguments
$exclusiveLock
boolean
Details
visibility
public
final
false
static
false

setFilename

setFilename( string $filename ) : Zend_Config_Writer_Array

Set the target filename

Arguments
$filename
string
Details
visibility
public
final
false
static
false

write

write( string $filename = null, Zend_Config $config = null, bool $exclusiveLock = null ) : void

Write configuration to file.

Arguments
$filename
string
$config
Zend_Config
$exclusiveLock
bool
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.