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

Class: CodeGen_PECL_Element_Global

Source Location: /CodeGen_PECL-1.1.3/PECL/Element/Global.php

Class Overview

CodeGen_Element
   |
   --CodeGen_PECL_Element
      |
      --CodeGen_PECL_Element_Global

Class describing a thread-global within a PECL extension


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005-2008 Hartmut Holzgraefe

Variables

Methods


Inherited Variables

Inherited Methods

Class: CodeGen_PECL_Element

CodeGen_PECL_Element::isKeyword()
Checks whether a string is a reserved name
CodeGen_PECL_Element::isType()
Checks whether a string is a valid PHP type name and returns the official name

Class Details

[line 38]
Class describing a thread-global within a PECL extension


[ Top ]


Class Variables

$name =

[line 49]

The name of the global
  • Access: protected

Type:   string


[ Top ]

$type =

[line 87]

The type of the global
  • Access: protected

Type:   string


[ Top ]

$value =  null

[line 125]

Default value
  • Access: protected

Type:   string


[ Top ]



Method Detail

getName   [line 74]

string getName( )

Get method for name
  • Access: public

[ Top ]

getType   [line 112]

string getType( $name)

Get method for name
  • Access: public

Parameters:

   $name   — 

[ Top ]

getValue   [line 147]

string getValue( )

Get method for default value
  • Access: public

[ Top ]

isType   [line 161]

void isType( $type)

Overriding type check as we deal with real C types here
  • Var: C type specifier
  • Access: public

Overrides CodeGen_PECL_Element::isType() (Checks whether a string is a valid PHP type name and returns the official name)

Parameters:

   $type   — 

[ Top ]

setName   [line 57]

void setName( $name)

Set method for name
  • Var: global variable name
  • Access: public

Parameters:

   $name   — 

[ Top ]

setType   [line 95]

void setType( $name)

Set method for type
  • Var: C type name
  • Access: public

Parameters:

   $name   — 

[ Top ]

setValue   [line 133]

void setValue( string $value)

Set method for default value
  • Access: public

Parameters:

string   $value   —  default value

[ Top ]


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