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

Class: parserGlobal

Source Location: /PhpDocumentor-1.4.0/phpDocumentor/ParserElements.inc

Class Overview

parserBase
   |
   --parserElement
      |
      --parserGlobal



Author(s):

Version:

  • $Id: ParserElements.inc,v 1.19 2007/04/24 21:30:50 ashnazg Exp $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 218]
  • Author: Greg Beaver <cellog@php.net>
  • Version: $Id: ParserElements.inc,v 1.19 2007/04/24 21:30:50 ashnazg Exp $
  • Since: 1.1


[ Top ]


Class Variables

$datatype =  'mixed'

[line 230]

Name of the global's data type

Type:   string


[ Top ]

$type =  'global'

[line 224]

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

Type:   string
Overrides:   Array


[ Top ]



Method Detail

getConflicts   [line 252]

mixed getConflicts( Converter &$c)

Returns all global variables in other packages that have the same name as this global variable

Parameters:

Converter   &$c   — 

[ Top ]

getDataType   [line 278]

string getDataType( Converter &$converter)

Retrieve converter-specific representation of the data type

If the data type is a documented class name, then this function will return a Converter-specific link to that class's documentation, so users can click/browse to the documentation directly from the global variable declaration


Parameters:

Converter   &$converter   — 

[ Top ]

getLink   [line 238]

mixed getLink( Converter &$c, [string $text = false], [ $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
   $returnobj   — 

[ Top ]

setDataType   [line 263]

void setDataType( string $type)

Sets the name of the global variable's type

Parameters:

string   $type   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:08:17 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.