Inheritances
Files
Overview
FRAMES
NO FRAMES

Abstract class Zend_Application_Resource_ResourceAbstract

Zend_Application
|-Zend_Application_Resource
|-abstract class Zend_Application_Resource_ResourceAbstract implements Zend_Application_Resource_Resource
Abstract class for bootstrap resources
UsesZend_Application_Resource_Resource
CategoryZend
PackageZend_Application
SubpackageResource
CopyrightCopyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
Licensehttp://framework.zend.com/license/new-bsd New BSD License

Summary

Instance fields
# $_bootstrap Parent bootstrap
# $_options Options for the resource
# $_skipOptions Option keys to skip when calling setOptions()
Instance methods
+ __construct() Create a instance with options
+ getBootstrap() Retrieve the bootstrap to which the resource is attached
+ getOptions() Retrieve resource options
+ mergeOptions() Merge options recursively
+ setBootstrap() Set the bootstrap to which the resource is attached
+ setOptions() Set options from array

Details

Instance fields

$_options
protected $_options = array()
Options for the resource
Var array
$_skipOptions
protected $_skipOptions = array( 'options', 'config', )
Option keys to skip when calling setOptions()
Var array

Instance methods

__construct()
public function __construct( $options = null)
Create a instance with options
Parameters
mixed $options
Overriden by __construct() in class : Zend_Application_Resource_Modules
getBootstrap()
public function getBootstrap( )
Retrieve the bootstrap to which the resource is attached
getOptions()
public function getOptions( )
Retrieve resource options
Returns array
mergeOptions()
public function mergeOptions( array $array1
$array2 = null
)
Merge options recursively
Parameters
array $array1
mixed $array2
Returns array
setBootstrap()
public function setBootstrap( Zend_Application_Bootstrap_Bootstrapper $bootstrap)
Set the bootstrap to which the resource is attached
Parameters
Zend_Application_Bootstrap_Bootstrapper $bootstrap
setOptions()
public function setOptions( array $options)
Set options from array
Parameters
array $options