示例#1
0
 /**
  * Adds Attribute2Value relation
  *
  * @param 		RM_Gpc_Attribute_Value		obValue
  * @param 		RM_Gpc_Entity_Brick			obBrick
  * @return		bool
  **/
 public function addValue(RM_Gpc_Attribute_Value $obValue, RM_Gpc_Entity_Brick $obBrick)
 {
     return $this->_mapper->addValueToAttribute($this, $obValue, $obBrick);
 }
示例#2
0
 /**
  * Adds Attribute2Value relation
  *
  * @param 		RM_Gpc_Attribute_Object		obAttribute
  * @param 		RM_Gpc_Entity_Brick			obBrick
  * @return		bool
  **/
 public function addAttribute(RM_Gpc_Attribute_Object $obAttribute, RM_Gpc_Entity_Brick $obBrick)
 {
     return $this->_mapper->addValueToAttribute($obAttribute, $this, $obBrick);
 }