示例#1
0
 /**
  * Set name to quantity element in addition to current element
  *
  * @param string $name
  * @return void
  */
 public function setName($name)
 {
     $this->_qty->setName($name . '[qty]');
     parent::setName($name . '[is_in_stock]');
 }