예제 #1
0
 public function __construct(FabricModel $model)
 {
     $this->model = $model;
     $this->map_table = 'fabrics_map';
     $this->key = 'fabric_id';
     parent::__construct($model);
 }
예제 #2
0
 public function __construct(ColorModel $model)
 {
     $this->model = $model;
     $this->map_table = "colors_map";
     $this->key = 'color_id';
     parent::__construct($model);
 }
예제 #3
0
 public function __construct(DetailModel $model)
 {
     $this->model = $model;
     $this->map_table = 'details_map';
     $this->key = 'detail_id';
     parent::__construct($model);
 }