category Zend
package Zend_Tool
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Constructor - allows for the setting of options

__construct(array $options = array()

Parameters

$options

array

__toString() - string representation of this object

__toString() : string

Returns

string

getAttributes() - this will retrieve any attributes of this object that exist as properties This is most useful for printing metadata.

getAttributes(\const $type = self::ATTRIBUTES_ALL, $stringRepresentationOfNonScalars = false) : array
inherited_from \Zend_Tool_Framework_Metadata_Attributable::getAttributes()

Parameters

$type

\const

$stringRepresentationOfNonScalars

Returns

array

getName()

getName() : string
inherited_from \Zend_Tool_Framework_Metadata_Interface::getName()

Returns

string

getReference()

getReference() : mixed

Returns

mixed

getType()

getType() : string

The type of metadata this describes

inherited_from \Zend_Tool_Framework_Metadata_Interface::getType()

Returns

string

getValue()

getValue() : mixed
inherited_from \Zend_Tool_Framework_Metadata_Interface::getValue()

Returns

mixed

setName()

setName(string $name) : \Zend_Tool_Framework_Metadata_Basic

Parameters

$name

string

Returns

\Zend_Tool_Framework_Metadata_Basic

setOptions() - standard issue implementation, this will set any options that are supported via a set method.

setOptions(array $options) : \Zend_Tool_Framework_Metadata_Basic

Parameters

$options

array

Returns

\Zend_Tool_Framework_Metadata_Basic

setReference()

setReference(mixed $reference) : \Zend_Tool_Framework_Metadata_Basic

Parameters

$reference

mixed

Returns

\Zend_Tool_Framework_Metadata_Basic

setType()

setType(string $type) : \Zend_Tool_Framework_Metadata_Basic

Parameters

$type

string

Returns

\Zend_Tool_Framework_Metadata_Basic

setValue()

setValue($value) : \Zend_Tool_Framework_Metadata_Basic

Parameters

$value

Returns

\Zend_Tool_Framework_Metadata_Basic

 Properties

 

$_name

$_name 

Default

null
 

$_reference

$_reference : mixed

Default

null
 

$_type

$_type 

Default

'Basic'
 

$_value

$_value 

Default

null

 Constants

 

ATTRIBUTES_ALL

ATTRIBUTES_ALL = 'attributesAll' 
 

ATTRIBUTES_NO_PARENT

ATTRIBUTES_NO_PARENT = 'attributesParent'