Class vo_order

Description

value object for table order

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

vo
   |
   --vo_order
Direct descendents
Class Description
 class dao_order data access object for table order
Variable Summary
 enum('none','StopLoss','StopBuy') $addon
 mediumtext(None) $comment
 float(None) $courtage
 varchar(25) $exchange
 float(None) $expense
 int(11) $expire
 int(11) $id
 int(11) $id_position
 int(11) $issued
 tinyint(1) $is_canceled
 float(50,4) $limit
 float(None) $provision
 float(50,4) $quote
 float(50,4) $shares
 enum('buy','sale') $type
Method Summary
 void addonCheck ( $value)
 void get_primary_key ()
 void store ()
 void typeCheck ( $value)
Variables
enum('none','StopLoss','StopBuy') $addon = false (line 79)
  • access: public
mediumtext(None) $comment = '' (line 115)
  • access: public
float(None) $courtage = 0.000000 (line 103)
  • access: public
varchar(25) $exchange = '' (line 85)
  • access: public
float(None) $expense = 0.000000 (line 109)
  • access: public
int(11) $expire = 0 (line 55)
  • access: public
int(11) $id = 0 (line 37)
  • access: public
int(11) $id_position = 0 (line 43)
  • access: public
int(11) $issued = 0 (line 49)
  • access: public
tinyint(1) $is_canceled = 0 (line 121)
  • access: public
float(50,4) $limit = 0.000000 (line 73)
  • access: public
float(None) $provision = 0.000000 (line 97)
  • access: public
float(50,4) $quote = 0.000000 (line 91)
  • access: public
float(50,4) $shares = 0.000000 (line 67)
  • access: public
enum('buy','sale') $type = false (line 61)
  • access: public
Methods
addonCheck (line 197)
  • access: public
void addonCheck ( $value)
  • $value
get_primary_key (line 187)

returns the primary key value for this record

  • access: public
void get_primary_key ()
store (line 129)

returns SQL INSERT/UPDATE statement for this record

  • access: public
void store ()
typeCheck (line 192)
  • access: public
void typeCheck ( $value)
  • $value

Inherited Methods

Inherited From vo

 vo::__construct()

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