Application/Resource/Locale.php
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: Locale.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Application_Resource_Locale
Package: Zend\Application\Resource

Parameters







Resource for initializing the locale
- Parent(s)
- \Zend_Application_Resource_ResourceAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
- \global\Zend_Application_Resource_Base
Constants
Properties


array $_options = array()
inherited
Options for the resource
Inherited from:
\Zend_Application_Resource_ResourceAbstract::$$_optionsDefault value
array()
Details- Type
- array
- Inherited_from
- \Zend_Application_Resource_ResourceAbstract::$$_options


array $_skipOptions = array('options', 'config')
inherited
Option keys to skip when calling setOptions()
Inherited from:
\Zend_Application_Resource_ResourceAbstract::$$_skipOptionsDefault value
array('options', 'config')
Details- Type
- array
- Inherited_from
- \Zend_Application_Resource_ResourceAbstract::$$_skipOptions
Methods


__construct(mixed $options = null) : void
inherited
Create a instance with options
Inherited from: \Zend_Application_Resource_ResourceAbstract::__construct()Must take an optional single argument, $options.
Name | Type | Description |
---|---|---|
$options | mixed |


getBootstrap() : null | \Zend_Application_Bootstrap_Bootstrapper
inherited
Retrieve the bootstrap to which the resource is attached
Inherited from: \Zend_Application_Resource_ResourceAbstract::getBootstrap()Returns
Type | Description |
---|---|
null | \Zend_Application_Bootstrap_Bootstrapper |


getOptions() : array
inherited
Retrieve resource options
Inherited from: \Zend_Application_Resource_ResourceAbstract::getOptions()Returns
Type | Description |
---|---|
array |


init() : \Zend_Locale
Defined by Zend_Application_Resource_Resource
Returns
Type | Description |
---|---|
\Zend_Locale |


mergeOptions(array $array1, mixed $array2 = null) : array
inherited
Merge options recursively
Inherited from: \Zend_Application_Resource_ResourceAbstract::mergeOptions()Parameters
Returns
Name | Type | Description |
---|---|---|
$array1 | array | |
$array2 | mixed |
Type | Description |
---|---|
array |


setBootstrap(\Zend_Application_Bootstrap_Bootstrapper $bootstrap) : \Zend_Application_Resource_Resource
inherited
Set the bootstrap to which the resource is attached
Inherited from: \Zend_Application_Resource_ResourceAbstract::setBootstrap()Parameters
Returns
Name | Type | Description |
---|---|---|
$bootstrap | \Zend_Application_Bootstrap_Bootstrapper |
Type | Description |
---|---|
\Zend_Application_Resource_Resource |


setCache(string | \Zend_Cache_Core $cache) : \Zend_Application_Resource_Locale
Set the cache
Parameters
Returns
Name | Type | Description |
---|---|---|
$cache | string | \Zend_Cache_Core |
Type | Description |
---|---|
\Zend_Application_Resource_Locale |


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