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

Class: StockLevel

Source Location: /code/product/StockLevel.php

Class Overview

DataObject
   |
   --StockLevel

Stock level for associating with Products or Variations.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Variables



Class Details

[line 17]
Stock level for associating with Products or Variations.

Allows the stock level to be outside the versioning procedure.

Levels: -1 = unlimited stock

  1. = out of stock
> 0 = actual stock level




Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Variables

static $db = array(
    'Level' => 'Int'
  )

[line 24]

The stock level value (Int)



Tags:

access:  public

Type:   Array


[ Top ]

static $defaults = array(
    'Level' => -1
  )

[line 33]

Default stock level is -1 = unlimited stock.



Tags:

access:  public

Type:   Array


[ Top ]



Documentation generated on Thu, 08 Mar 2012 16:47:29 +1300 by phpDocumentor 1.4.4