API Documentation

Application/Resource/Resource.php

Interfaces
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_Application
subpackage
Resource
version
$Id: Resource.php 20096 2010-01-06 02:05:09Z bkarwin $
Interfaces
Zend_Application_Resource_Resource

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_Application_Resource_Resource

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_Application
subpackage
Resource
Methods
__construct
setBootstrap
getBootstrap
setOptions
getOptions
init

Description

Interface for bootstrap resources

Methods

__construct

__construct( mixed $options = null ) : void

Constructor

Must take an optional single argument, $options.

Arguments
$options
mixed
Details
visibility
public
final
false
static
false

getBootstrap

getBootstrap( ) : Zend_Application_Bootstrap_Bootstrapper

Retrieve the bootstrap to which the resource is attached

Details
visibility
public
final
false
static
false

getOptions

getOptions( ) : array

Retrieve resource options

Output
array
Details
visibility
public
final
false
static
false

init

init( ) : mixed

Strategy pattern: initialize resource

Output
mixed
Details
visibility
public
final
false
static
false

setBootstrap

setBootstrap( Zend_Application_Bootstrap_Bootstrapper $bootstrap ) : Zend_Application_Resource_Resource

Set the bootstrap to which the resource is attached

Arguments
$bootstrap
Zend_Application_Bootstrap_Bootstrapper
Details
visibility
public
final
false
static
false

setOptions

setOptions( array $options ) : Zend_Application_Resource_Resource

Set resource options

Arguments
$options
array
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.