Tool/Project/Profile/Resource.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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Tool
- Subpackage
- Framework
- Version
- $Id$
\Zend_Tool_Project_Profile_Resource
Package: Zend_Tool










This class is an iterator that will iterate only over enabled resources
- Parent(s)
- \Zend_Tool_Project_Profile_Resource_Container
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

\Zend_Tool_Project_Context|string $_context = nullDefault value
nullDetails- Type
- \Zend_Tool_Project_Context | string
Methods

__call(string $method, array $arguments) : \Zend_Tool_Project_Profile_Resource__call()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $method | string | |
| $arguments | array |
| Type | Description |
|---|---|
| \Zend_Tool_Project_Profile_Resource |

__construct(string | \Zend_Tool_Project_Context_Interface $context) : void__construct()
Parameters
| Name | Type | Description |
|---|---|---|
| $context | string | \Zend_Tool_Project_Context_Interface |

getContext() : \Zend_Tool_Project_Context_InterfacegetContext()
Returns
| Type | Description |
|---|---|
| \Zend_Tool_Project_Context_Interface |

getName() : stringgetName() - Get the resource name
Name is derived from the context name
Returns| Type | Description |
|---|---|
| string |

initializeContext() : \Zend_Tool_Project_Profile_ResourceinitializeContext()
Returns
| Type | Description |
|---|---|
| \Zend_Tool_Project_Profile_Resource |

isDeleted() : \Zend_Tool_Project_Profile_ResourceisDeleted()
Returns
| Type | Description |
|---|---|
| \Zend_Tool_Project_Profile_Resource |

setContext(string | \Zend_Tool_Project_Context_Interface $context) : \Zend_Tool_Project_Profile_ResourcesetContext()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $context | string | \Zend_Tool_Project_Context_Interface |
| Type | Description |
|---|---|
| \Zend_Tool_Project_Profile_Resource |

setDeleted(bool $deleted = true) : \Zend_Tool_Project_Profile_ResourcesetDeleted()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $deleted | bool |
| Type | Description |
|---|---|
| \Zend_Tool_Project_Profile_Resource |

setEnabled(bool $enabled = true) : \Zend_Tool_Project_Profile_ResourcesetEnabled()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $enabled | bool |
| Type | Description |
|---|---|
| \Zend_Tool_Project_Profile_Resource |

setProfile(\Zend_Tool_Project_Profile $profile) : \Zend_Tool_Project_Profile_ResourcesetProfile()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $profile | \Zend_Tool_Project_Profile |
| Type | Description |
|---|---|
| \Zend_Tool_Project_Profile_Resource |