API Documentation

Zend/Application/Resource/ResourceAbstract.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Application  
Subpackage
Resource  
Version
$Id: ResourceAbstract.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Application_Resource_ResourceAbstract

Package: Zend\Application\Resource

Abstract class for bootstrap resources

Implements
\Zend_Application_Resource_Resource
Children
\Zend_Application_Resource_Multidb
\Zend_Application_Resource_Mail
\Zend_Application_Resource_Layout
\Zend_Application_Resource_Modules
\Zend_Application_Resource_Locale
\Zend_Application_Resource_Cachemanager
\Zend_Application_Resource_Translate
\Zend_Application_Resource_Log
\Zend_Application_Resource_UserAgent
\Zend_Application_Resource_Frontcontroller
\Zend_Application_Resource_Router
\Zend_Application_Resource_Navigation
\Zend_Application_Resource_View
\Zend_Application_Resource_Session
\Zend_Application_Resource_Dojo
\Zend_Application_Resource_Db
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Used_by
\Zend_Application_Resource_Mail  
Used_by
\Zend_Application_Resource_Layout  
Used_by
\Zend_Application_Resource_Translate  
Used_by
\Zend_Application_Resource_Log  
Used_by
\Zend_Application_Resource_Navigation  
Used_by
\Zend_Application_Resource_View  
Used_by
\Zend_Application_Resource_Session  
Used_by
\Zend_Application_Resource_Dojo  
Used_by
\Zend_Application_Resource_Db  
Uses
\Zend_Application_Resource_Resource  

Properties

Propertyprotected\Zend_Application_Bootstrap_Bootstrapper  $_bootstrap= ''

Parent bootstrap

Propertyprotectedarray  $_options= 'array()'

Options for the resource

Default valuearray()Details
Type
array
Propertyprotectedarray  $_skipOptions= 'array( 'options''

Option keys to skip when calling setOptions()

Default valuearray( 'options'Details
Type
array

Methods

methodpublic__construct( mixed $options = null ) : void

Create a instance with options

Parameters
Name Type Description
$options mixed
methodpublicgetBootstrap( ) : null|\Zend_Application_Bootstrap_Bootstrapper

Retrieve the bootstrap to which the resource is attached

Returns
Type Description
null|\Zend_Application_Bootstrap_Bootstrapper
methodpublicgetOptions( ) : array

Retrieve resource options

Returns
Type Description
array
methodpublicmergeOptions( array $array1, mixed $array2 = null ) : array

Merge options recursively

Parameters
Name Type Description
$array1 array
$array2 mixed
Returns
Type Description
array
methodpublicsetBootstrap( \Zend_Application_Bootstrap_Bootstrapper $bootstrap ) : \Zend_Application_Resource_Resource

Set the bootstrap to which the resource is attached

Parameters
Name Type Description
$bootstrap \Zend_Application_Bootstrap_Bootstrapper
Returns
Type Description
\Zend_Application_Resource_Resource
methodpublicsetOptions( array $options ) : \Zend_Application_Resource_ResourceAbstract

Set options from array

Parameters
Name Type Description
$options array

Configuration for resource

Returns
Type Description
\Zend_Application_Resource_ResourceAbstract
Documentation was generated by DocBlox 0.15.1.