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

Class: parserGlobal

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

Class Overview

parserBase
   |
   --parserElement
      |
      --parserGlobal



Author(s):

Version:

  • $Id: ParserElements.inc,v 1.33 2003/01/14 08:40:36 CelloG Exp $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 152]


[ Top ]


Class Variables

$datatype =  'mixed'

[line 164]

Name of the global's data type

Type:   string


[ Top ]

$type =  'global'

[line 158]

Type is used by many functions to skip the hassle of if get_class($blah) == 'parserBlah'
  • Var: always 'global'

Type:   string
Overrides:   Array


[ Top ]



Method Detail

getConflicts   [line 190]

mixed getConflicts( Converter &$c)

Returns all global variables in other packages that have the same name as this global variable
  • Return: false or an array Format: (package => parserGlobal of conflicting global variable)

Parameters:

Converter   &$c     

[ Top ]

getDataType   [line 202]

void getDataType( mixed &$converter)


[ Top ]

getLink   [line 172]

mixed getLink( Converter &$c, [string $text = false], [mixed $returnobj = false])

quick way to link to this element
  • Return: converter-specific link to this global variable

Parameters:

Converter   &$c     
string   $text     text to display for the link or false for default text

[ Top ]

setDataType   [line 197]

void setDataType( mixed $type)


[ Top ]


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