Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/jesus/devel/php/pear/Science/Chemistry/Element.php
Chemical classes - Science_Chemistry

Science_Chemistry_Element

Science_Chemistry_Element

Utility class that defines a chemical element object

 

public class Science_Chemistry_Element

Utility class that defines a chemical element object

AuthorsJesus M. Castagnetto <jmcastagnetto@php.net>
Version1.0

 

Public Method Summary

object Science_Chemistry_Element

Science_Chemistry_Element(string $sym, string $name, integer $num, float $wgt, string $mp, string $bp, string $fam)

Constructor for the class
boolean

isElement(object Science_Chemistry_Element $obj)

Checks if an object is a Science_Chemistry_Element instance

Public Field Summary

string

$symbol

Element's symbol, one or two characters, case sensitive
string

$name

Element's name
integer

$number

Element's atomic number
float

$weight

Element's atomic weight in a.m.u (atomic mass units)
string

$melting_point

Element's melting point, with comments
string

$boiling_point

Element's boiling point, with comments
string

$family

Element's family

Public Method Details

Science_Chemistry_Element

public object Science_Chemistry_Element Science_Chemistry_Element( string $sym, string $name, integer $num, float $wgt, string $mp, string $bp, string $fam )

  Constructor for the class

Parameter
string $sym
element symbol
string $name
element name
integer $num
atomic number
float $wgt
atomic weight
string $mp
melting point (with comments)
string $bp
boiling point (with comments)
string $fam
family
Returns object Science_Chemistry_Element


isElement

public boolean isElement( object Science_Chemistry_Element $obj )

  Checks if an object is a Science_Chemistry_Element instance

Parameter
object Science_Chemistry_Element $obj
Returns boolean


Public Field Details

$symbol

public string $symbol

>><<

Element's symbol, one or two characters, case sensitive


$name

public string $name

>><<

Element's name


$number

public integer $number

>><<

Element's atomic number


$weight

public float $weight

>><<

Element's atomic weight in a.m.u (atomic mass units)


$melting_point

public string $melting_point

>><<

Element's melting point, with comments


$boiling_point

public string $boiling_point

>><<

Element's boiling point, with comments


$family

public string $family

>><<

Element's family



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta