Changeset 20406
- Timestamp:
- 2011/02/25 13:54:25 (13 years ago)
- bzr:base-revision:
- svn-v4:1e3b908f-19a9-db11-a64c-001125224ba8:branches/version-2_5-dev:20405
- bzr:committer:
- Kentaro Ohkouchi <ohkouchi@loop-az.jp>
- bzr:file-ids:
test/createEcCubeData-v25.php 19693@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fversion-2_5-dev%2Ftest%2FcreateEcCubeData-v25.php- bzr:mapping-version:
- v4
- bzr:merge:
ohkouchi@loop-az.jp-20110225045038-shb49ue0v8b7u94v- bzr:repository-uuid:
- 1e3b908f-19a9-db11-a64c-001125224ba8
- bzr:revision-id:
- ohkouchi@loop-az.jp-20110225045412-xwo0plzt8hddpkk3
- bzr:revno:
- 3134
- bzr:revprop:branch-nick:
- branches/version-2_5-dev
- bzr:root:
- branches/version-2_5-dev
- bzr:text-revisions:
test/createEcCubeData-v25.php ohkouchi@loop-az.jp-20110225045038-shb49ue0v8b7u94v- bzr:timestamp:
- 2011-02-25 13:54:12.000000000 +0900
- bzr:user-agent:
- bzr2.2.1+bzr-svn1.0.4
- svn:original-date:
- 2011-02-25T04:54:12.000000Z
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/test/createEcCubeData-v25.php
r20116 r20406 54 54 // {{{ Logic 55 55 set_time_limit(0); 56 ob_end_flush();56 while (@ob_end_flush()); 57 57 58 58 $objData = new CreateEcCubeData(); … … 210 210 // 規格2 211 211 for ($i = 0; $i < CLASSCATEGORY2_VOLUME; $i++) { 212 $this->createClassCategory($this->arr Size[$i],212 $this->createClassCategory($this->arrColor[$i], 213 213 $this->arrclass_id[1], "color"); 214 214 } … … 261 261 print("*"); 262 262 } 263 print("\n"); 263 264 } 264 265 … … 338 339 339 340 $sqlval['product_id'] = $product_id; 341 $sqlval['product_type_id'] = 1; 340 342 $sqlval['stock_unlimited'] = 1; 341 343 $sqlval['price01'] = 1000; 342 344 $sqlval['price02'] = 2000; 345 $sqlval['point_rate'] = 10; 343 346 $sqlval['creator_id'] = 2; 344 347 $sqlval['create_date'] = "now()"; … … 348 351 $count = 0; 349 352 foreach ($this->arrClassCategory_id1 as $classCategory_id1) { 350 $c1['classcategory_id'] = $classCategory_id1;351 $c1['class_combination_id'] = $this->objQuery->nextVal('dtb_class_combination_class_combination_id');352 $c1['level'] = 1;353 $this->objQuery->insert("dtb_class_combination", $c1);354 355 353 foreach ($this->arrClassCategory_id2 as $classCategory_id2) { 354 $c1['classcategory_id'] = $classCategory_id1; 355 $c1['class_combination_id'] = $this->objQuery->nextVal('dtb_class_combination_class_combination_id'); 356 $c1['level'] = 1; 357 $this->objQuery->insert("dtb_class_combination", $c1); 358 356 359 $c2['classcategory_id'] = $classCategory_id2; 357 360 $c2['class_combination_id'] = $this->objQuery->nextVal('dtb_class_combination_class_combination_id');
Note: See TracChangeset
for help on using the changeset viewer.