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

Class: parserVar

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

Class Overview

parserBase
   |
   --parserElement
      |
      --parserVar



Author(s):

Version:

  • $Id: ParserElements.inc,v 1.16.2.1 2007/04/02 18:22:51 ashnazg Exp $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 1415]
  • Author: Greg Beaver <cellog@users.sourceforge.net>
  • Version: $Id: ParserElements.inc,v 1.16.2.1 2007/04/02 18:22:51 ashnazg Exp $
  • Since: 1.0rc1


[ Top ]


Class Variables

$class =  ''

[line 1423]

  • Var: class that contains this var

Type:   string


[ Top ]

$type =  'var'

[line 1421]

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

Type:   string
Overrides:   Array


[ Top ]



Method Detail

parserVar (Constructor)   [line 1430]

parserVar parserVar( string $class)


Parameters:

string   $class   — 

[ Top ]

getClass   [line 1439]

string getClass( )

Retrieve the class name
  • Return: Class name that this var belongs to

[ Top ]

getLink   [line 1468]

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

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

Parameters:

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

[ Top ]

getModifiers   [line 1448]

array getModifiers( )

Return a list of access modifiers (static/private/etc.)

[ Top ]

getOverrides   [line 1481]

mixed getOverrides( Converter &$c)

  • Return: parserVar representing var this var overrides from the parent class, or false if none

Parameters:

Converter   &$c   — 

[ Top ]

getOverridingVars   [line 1540]

array getOverridingVars( Converter &$c)


Parameters:

Converter   &$c   — 

[ Top ]

getOverridingVarsForClass   [line 1552]

array getOverridingVarsForClass( Converter &$c, parserClass &$class)

  • Return: an array of parserVars from ALL child classes that override this var in the given class

Parameters:

Converter   &$c   — 
parserClass   &$class   — 

[ Top ]

setModifiers   [line 1457]

string setModifiers( $m)

Return name of the class that contains this method

Parameters:

   $m   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:58:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.