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 = null
Default value
null
Details- 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_Interface
getContext()
Returns
Type | Description |
---|---|
\Zend_Tool_Project_Context_Interface |
getName() : string
getName() - Get the resource name
Name is derived from the context name
ReturnsType | Description |
---|---|
string |
initializeContext() : \Zend_Tool_Project_Profile_Resource
initializeContext()
Returns
Type | Description |
---|---|
\Zend_Tool_Project_Profile_Resource |
isDeleted() : \Zend_Tool_Project_Profile_Resource
isDeleted()
Returns
Type | Description |
---|---|
\Zend_Tool_Project_Profile_Resource |
setContext(string | \Zend_Tool_Project_Context_Interface $context) : \Zend_Tool_Project_Profile_Resource
setContext()
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_Resource
setDeleted()
Parameters
Returns
Name | Type | Description |
---|---|---|
$deleted | bool |
Type | Description |
---|---|
\Zend_Tool_Project_Profile_Resource |
setEnabled(bool $enabled = true) : \Zend_Tool_Project_Profile_Resource
setEnabled()
Parameters
Returns
Name | Type | Description |
---|---|---|
$enabled | bool |
Type | Description |
---|---|
\Zend_Tool_Project_Profile_Resource |
setProfile(\Zend_Tool_Project_Profile $profile) : \Zend_Tool_Project_Profile_Resource
setProfile()
Parameters
Returns
Name | Type | Description |
---|---|---|
$profile | \Zend_Tool_Project_Profile |
Type | Description |
---|---|
\Zend_Tool_Project_Profile_Resource |