phpDocumentor
[ class tree: phpDocumentor ] [ index: phpDocumentor ] [ all elements ]

Class: parserReturnTag

Source Location: /PhpDocumentor-1.2.0beta2/phpDocumentor/DocBlockTags.inc

Class Overview

parserBase
   |
   --parserStringWithInlineTags
      |
      --parserTag
         |
         --parserReturnTag

represents "@return"


Author(s):

Version:

  • $Id: DocBlockTags.inc,v 1.3 2003/01/18 07:25:19 CelloG Exp $

Variables

Methods


Child classes:

parserVarTag
represents "@var"

Inherited Variables

Inherited Methods

Class: parserTag

parserTag::parserTag()
parserTag::Convert()
parserTag::getString()
parserTag::HandleEvent()

Class: parserStringWithInlineTags

parserStringWithInlineTags::add()
equivalent to the . operator ($a = $b . $c)
parserStringWithInlineTags::Convert()
Use to convert the string to a real string with all inline tags parsed and linked
parserStringWithInlineTags::getString()
return the string unconverted (all inline tags are taken out - this should only be used in pre-parsing to see if any other text
parserStringWithInlineTags::setSource()
parserStringWithInlineTags::trimmedStrlen()
equivalent to trim(strlen($string))

Class: parserBase

parserBase::getType()
parserBase::getValue()
parserBase::setLineNum()
parserBase::setValue()

Class Details

[line 176]
represents "@return"


[ Top ]


Class Variables

$converted_returnType =  false

[line 203]

contains a link to the documentation for a class passed as a type in @return, @var or @param

Example:


1 class myclass
2 {
3 ...
4 }
5
In this case, $converted_returnType will contain a link to myclass instead of the string 'myclass'


Type:   mixed


[ Top ]

$keyword =  'return'

[line 182]

always 'return'

Type:   string
Overrides:   Array


[ Top ]

$returnType =  'void'

[line 186]

the type a function returns

Type:   mixed


[ Top ]



Method Detail

parserReturnTag (Constructor)   [line 209]

parserReturnTag parserReturnTag( string $returnType, parserStringWithInlineTags $value)


Parameters:

string   $returnType     
parserStringWithInlineTags   $value     

[ Top ]

Convert   [line 221]

string Convert( Converter &$converter)

sets up $converted_returnType

Overrides parserTag::Convert() (parent method not documented)

Parameters:

Converter   &$converter     

[ Top ]


Documentation generated on Fri, 30 Apr 2004 22:09:37 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.