oxobject2category.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class oxObject2Category extends oxBase
00007 {
00008 
00014     protected $_sClassName = 'oxobject2category';
00015 
00019     public function __construct()
00020     {
00021         parent::__construct();
00022         $this->init('oxobject2category');
00023     }
00024 
00025 
00031     public function getProductId()
00032     {
00033         return $this->oxobject2category__oxobjectid->value;
00034     }
00035 
00041     public function setProductId($sId)
00042     {
00043         $this->oxobject2category__oxobjectid = new oxField($sId);
00044     }
00045 
00051     public function getCategoryId()
00052     {
00053         return $this->oxobject2category__oxcatnid->value;
00054     }
00055 
00061     public function setCategoryId($sId)
00062     {
00063         $this->oxobject2category__oxcatnid = new oxField($sId);
00064     }
00065 }