|
|
File: /home/jesus/devel/php/pear/Science/Chemistry/Periodic_Table.php
Chemical classes - Science_Chemistry
Science_Chemistry_Periodic_Table
Science_Chemistry_Periodic_Table
Utility class that defines a Periodic Table of elements
|
public class Science_Chemistry_Periodic_Table
Utility class that defines a Periodic Table of elements
|
|
|
|
Public Field Summary |
array |
$periodic_tableThe associative array containing the chemical elements |
|
Public Method Details |
getElement |
public object Science_Chemistry_Element getElement( string $symbol )
|
|
Returns a Science_Chemistry_Element object correspoding to the symbol (case sensitive)
|
Parameter |
|
|
Returns |
object Science_Chemistry_Element |
|
getElementFamily |
public array getElementFamily( string $family )
|
|
Returns an array of Science_Chemistry_Element objects belonging to an element family
|
Parameter |
|
|
Returns |
array Science_Chemistry_Element objects |
|
initTable |
public void initTable( )
|
|
Initializes the Periodic Table array
|
Returns |
void |
|
|
Public Field Details |
$periodic_table |
public array $periodic_table
>>array() <<
The associative array containing the chemical elements
|
|
|
|
|
PHPDoc 1.0beta |