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

Class: uars_day

Source Location: /uars_day_class.php

Class Overview


UARS day class.


Variables

Methods



Class Details

[line 31]
UARS day class.

An object of this class represents one UARS day.




[ Top ]


Class Variables

$data = array()

[line 60]

The day's data.


Type:   array


[ Top ]

$day =

[line 48]

UARS day instance.


Type:   uars_day


[ Top ]

$day_ts =

[line 54]

The day's unix time stamp.


Type:   integer


[ Top ]

$error =

[line 36]

Any error that gets generated.


Type:   string


[ Top ]

$files = array()

[line 78]

The day's files.


Type:   array


[ Top ]

$hdb =

[line 42]

HRDI database instance.


Type:   hrdi_db


[ Top ]

$links = array()

[line 84]

The day's links


Type:   array


[ Top ]

$modes = array()

[line 66]

The day's modes.


Type:   array


[ Top ]

$newest =

[line 72]

Newest UARS day in the database.


Type:   $days


[ Top ]



Class Methods


constructor uars_day [line 94]

FALSE uars_day( &$hdb, integer $day, hrdi_db $hdb)

Constructor.

Takes a hrdi_db class instance and a UARS day as arguments and populates the object with data for that day.




Tags:

return:  if an error is encountered


Parameters:

hrdi_db   $hdb   The hrdi_db instance
integer   $day   The UARS day
   &$hdb  

[ Top ]

method save [line 178]

TRUE|FALSE save( array $data)

Save updated UARS Day data.

This method will save/update a UARS Day with the given data values. It does data verification before processing the update.




Tags:

return:  Status of db update


Parameters:

array   $data   Associate array of key/value pairs

[ Top ]


Documentation generated on Tue, 23 Jan 2007 22:57:53 -0500 by phpDocumentor 1.3.0RC6