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

Class: Science_Chemistry_Periodic_Table

Source Location: /Science_Chemistry-1.1.2/Science/Chemistry/Periodic_Table.php

Class Overview


Utility class that defines a Periodic Table of elements


Author(s):

Version:

  • 1.0

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 32]
Utility class that defines a Periodic Table of elements


[ Top ]


Class Variables

$periodic_table = array()

[line 40]

The associative array containing the chemical elements
  • Access: public

Type:   array


[ Top ]



Method Detail

getElement   [line 49]

object Science_Chemistry_Element getElement( string $symbol)

Returns a Science_Chemistry_Element object correspoding to the symbol (case sensitive)
  • Access: public

Parameters:

string   $symbol     

[ Top ]

getElementFamily   [line 66]

array getElementFamily( string $family)

Returns an array of Science_Chemistry_Element objects belonging to an element family
  • Return: Science_Chemistry_Element objects
  • Access: public

Parameters:

string   $family     

[ Top ]

initTable   [line 81]

void initTable( )

Initializes the Periodic Table array
  • Access: public

[ Top ]


Documentation generated on Mon, 09 Apr 2012 18:00:05 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.