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.
Abstract class for bootstrap resources

__construct(
mixed $options
=
null
)
:
void
Create a instance with options
Name | Type | Description |
---|---|---|
$options | mixed |

getBootstrap(
)
:
null|\Zend_Application_Bootstrap_Bootstrapper
Retrieve the bootstrap to which the resource is attached
Type | Description |
---|---|
null|\Zend_Application_Bootstrap_Bootstrapper |

mergeOptions(
array $array1, mixed $array2
=
null
)
:
array
Merge options recursively
Name | Type | Description |
---|---|---|
$array1 | array | |
$array2 | mixed |
Type | Description |
---|---|
array |

setBootstrap(
\Zend_Application_Bootstrap_Bootstrapper $bootstrap
)
:
\Zend_Application_Resource_Resource
Set the bootstrap to which the resource is attached
Name | Type | Description |
---|---|---|
$bootstrap | \Zend_Application_Bootstrap_Bootstrapper |
Type | Description |
---|---|
\Zend_Application_Resource_Resource |

setOptions(
array $options
)
:
\Zend_Application_Resource_ResourceAbstract
Set options from array
Name | Type | Description |
---|---|---|
$options | array | Configuration for resource |
Type | Description |
---|---|
\Zend_Application_Resource_ResourceAbstract |