Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Product_Price Class Reference
Inheritance diagram for Product_Price:
MySource_Object

Public Member Functions

 Product_Price ()
 
 paintBackend (&$o, $prefix, $wa)
 
 _paintBackendField (&$o, $prefix, $wa, $var)
 
 processBackend (&$o, $prefix)
 
 _processBackendField (&$o, $prefix, $var)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Data Fields

 $name = ''
 
 $value = -1.0
 
 $calculate_tax = false
 
 $value_has_tax = false
 
- Data Fields inherited from MySource_Object
 $_tmp
 

Detailed Description

Definition at line 28 of file product_price.inc.

Member Function Documentation

_paintBackendField ( $o,
  $prefix,
  $wa,
  $var 
)

Paint the individual fields that are used in paintBackend()

Parameters
objectBackend_Outputter &$o
string$prefixname prefix for all form field names
boolean$wawrite access, whether we have write access or not
string$varthe name of the var whose field we need to print

public

Returns
boolean true if editing interface printed

Definition at line 101 of file product_price.inc.

_processBackendField ( $o,
  $prefix,
  $var 
)

Process the individual fields that are used in processBackend()

Parameters
objectBackend_Outputter &$o
string$prefixname prefix for all form field names
string$varthe name of the var whose field we need to print

public

Returns
boolean true if editing interface printed

Definition at line 170 of file product_price.inc.

paintBackend ( $o,
  $prefix,
  $wa 
)

Prints out the backend interface for the price

Parameters
objectBackend_Outputter $o
string$prefixname prefix for all form field names
boolean$wawrite access, whether we have write access or not

public

Returns
boolean true if editing interface printed

Definition at line 77 of file product_price.inc.

processBackend ( $o,
  $prefix 
)

Process the backend interface for the price

Parameters
objectBackend_Outputter $o
string$prefixname prefix for all form field names

public

Returns
boolean true if everything OK and changes were made

Definition at line 147 of file product_price.inc.

Constructor

Returns
void public

Definition at line 60 of file product_price.inc.


The documentation for this class was generated from the following file: