Class dao_quote

Description

data access object for table quote

Located in /lib/dao_quote.class.php (line 32)

vo
   |
   --vo_quote
      |
      --dao_quote
Variable Summary
 array $_quotes
Method Summary
 void __construct (array $quotes)
 object get_quote (int $id_stock)
Variables
array $_quotes = array() (line 38)

internal list of most recent(!) quotes by id_stock

  • access: protected

Inherited Variables

Inherited from vo_quote

vo_quote::$date
vo_quote::$exchange
vo_quote::$high
vo_quote::$id
vo_quote::$id_stock
vo_quote::$low
vo_quote::$quote
vo_quote::$volume
Methods
Constructor __construct (line 46)

requires a list of {$link vo_quote} objects and provides methods that work on top of that data, ie. sort it etc...

  • access: public
void __construct (array $quotes)
  • array $quotes

Redefinition of:
vo::__construct()
fills $this object`s properties with data from $record.
get_quote (line 60)

return {$link vo_quote} object for $id_stock or false if not available

  • access: public
object get_quote (int $id_stock)
  • int $id_stock

Inherited Methods

Inherited From vo_quote

 vo_quote::get_primary_key()
 vo_quote::store()

Inherited From vo

 vo::__construct()

Documentation generated on Sun, 22 Aug 2010 11:20:15 +0200 by phpDocumentor 1.4.3