Tool/Framework/Metadata/Basic.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 [email protected] 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_Framework_Metadata_Basic
Package: Zend_Tool
- Implements
- Children
- \Zend_Tool_Framework_Metadata_Tool
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties
Methods
__construct(array $options = array()) : void
Constructor - allows for the setting of options
Parameters
Name | Type | Description |
---|---|---|
$options | array |
__toString() : string
__toString() - string representation of this object
Returns
Type | Description |
---|---|
string |
getAttributes(\const $type = self::ATTRIBUTES_ALL, $stringRepresentationOfNonScalars = false) : array
getAttributes() - this will retrieve any attributes of this object that exist as properties This is most useful for printing metadata.
Parameters
Returns
Name | Type | Description |
---|---|---|
$type | \const | |
$stringRepresentationOfNonScalars |
Type | Description |
---|---|
array |
setName(string $name) : \Zend_Tool_Framework_Metadata_Basic
setName()
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_Tool_Framework_Metadata_Basic |
setOptions(array $options) : \Zend_Tool_Framework_Metadata_Basic
setOptions() - standard issue implementation, this will set any options that are supported via a set method.
Parameters
Returns
Name | Type | Description |
---|---|---|
$options | array |
Type | Description |
---|---|
\Zend_Tool_Framework_Metadata_Basic |
setReference(mixed $reference) : \Zend_Tool_Framework_Metadata_Basic
setReference()
Parameters
Returns
Name | Type | Description |
---|---|---|
$reference | mixed |
Type | Description |
---|---|
\Zend_Tool_Framework_Metadata_Basic |
setType(string $type) : \Zend_Tool_Framework_Metadata_Basic
setType()
Parameters
Returns
Name | Type | Description |
---|---|---|
$type | string |
Type | Description |
---|---|
\Zend_Tool_Framework_Metadata_Basic |
setValue( $value) : \Zend_Tool_Framework_Metadata_Basic
setValue()
Parameters
Returns
Name | Type | Description |
---|---|---|
$value |
Type | Description |
---|---|
\Zend_Tool_Framework_Metadata_Basic |