OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxobject2category.php
Go to the documentation of this file.
1 <?php
2 
6 class oxObject2Category extends oxBase
7 {
8 
14  protected $_sClassName = 'oxobject2category';
15 
19  public function __construct()
20  {
22  $this->init('oxobject2category');
23  }
24 
25 
31  public function getProductId()
32  {
33  return $this->oxobject2category__oxobjectid->value;
34  }
35 
41  public function setProductId($sId)
42  {
43  $this->oxobject2category__oxobjectid = new oxField($sId);
44  }
45 
51  public function getCategoryId()
52  {
53  return $this->oxobject2category__oxcatnid->value;
54  }
55 
61  public function setCategoryId($sId)
62  {
63  $this->oxobject2category__oxcatnid = new oxField($sId);
64  }
65 }