Zend Framework  1.12
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Zend_Tool_Framework_Metadata_Basic Class Reference

Public Member Functions

 __construct (Array $options=array())
 Constructor - allows for the setting of options.
 
 setOptions (Array $options)
 setOptions() - standard issue implementation, this will set any options that are supported via a set method.
 
 getType ()
 getType()
 
 setType ($type)
 setType()
 
 getName ()
 getName()
 
 setName ($name)
 setName()
 
 getValue ()
 getValue()
 
 setValue ($value)
 setValue()
 
 setReference ($reference)
 setReference()
 
 getReference ()
 getReference()
 
 getAttributes ($type=self::ATTRIBUTES_ALL, $stringRepresentationOfNonScalars=false)
 getAttributes() - this will retrieve any attributes of this object that exist as properties This is most useful for printing metadata.
 
 __toString ()
 __toString() - string representation of this object
 

Public Attributes

const ATTRIBUTES_ALL = 'attributesAll'
 #@+ Search constants
 
const ATTRIBUTES_NO_PARENT = 'attributesParent'
 

Protected Attributes

 $_type = 'Basic'
 
 $_name = null
 
 $_value = null
 
 $_reference = null
 

Constructor & Destructor Documentation

__construct ( Array  $options = array())

Constructor - allows for the setting of options.

Parameters
array$options

Member Function Documentation

__toString ( )

__toString() - string representation of this object

Returns
string
getAttributes (   $type = self::ATTRIBUTES_ALL,
  $stringRepresentationOfNonScalars = false 
)

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

Parameters
const$type
Returns
array
getName ( )
getReference ( )

getReference()

Returns
mixed
getType ( )
getValue ( )
setName (   $name)

setName()

Parameters
string$name
Returns
Zend_Tool_Framework_Metadata_Basic
setOptions ( Array  $options)

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

Parameters
array$options
Returns
Zend_Tool_Framework_Metadata_Basic
setReference (   $reference)

setReference()

Parameters
mixed$reference
Returns
Zend_Tool_Framework_Metadata_Basic
setType (   $type)

setType()

Parameters
string$type
Returns
Zend_Tool_Framework_Metadata_Basic
setValue (   $value)

setValue()

Parameters
unknown_type$Value
Returns
Zend_Tool_Framework_Metadata_Basic

Member Data Documentation

$_name = null
protected
$_reference = null
protected
$_type = 'Basic'
protected
$_value = null
protected
const ATTRIBUTES_ALL = 'attributesAll'

#@+ Search constants

const ATTRIBUTES_NO_PARENT = 'attributesParent'