This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
tutorials:development:auto_check_extras [2008/12/10 23:53] jonyo created |
tutorials:development:auto_check_extras [2016/10/05 23:07] (current) geojames |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| <?php | <?php | ||
| //file / | //file / | ||
| + | require_once CLASSES_DIR . PHP5_DIR . ' | ||
| class auto_check_listing_extrasOrderItem extends geoOrderItem | class auto_check_listing_extrasOrderItem extends geoOrderItem | ||
| { | { | ||
| Line 78: | Line 79: | ||
| //required by system, doesn' | //required by system, doesn' | ||
| - | public static function geoCart_initSteps(){ | + | public static function geoCart_initSteps($allPossible=false){ |
| } | } | ||
| Line 93: | Line 94: | ||
| //required by system | //required by system | ||
| - | public function | + | public function |
| - | return | + | return |
| } | } | ||
| Line 118: | Line 119: | ||
| - If everything is done correctly, when placing a listing, the listing extras should start out checked by default. < | - If everything is done correctly, when placing a listing, the listing extras should start out checked by default. < | ||
| - | **Note: This is a brand new tutorial.** | + | |