public function getCopyRestriction() { return 'p.generaltype_id=' . $this->_category->categoryId(); }