Beispiel #1
0
 /**
  * {@inheritDoc}
  */
 public function getAttributes()
 {
     return array_merge(parent::getAttributes(), array('type' => 'checkbox'));
 }
Beispiel #2
0
 /**
  * {@inheritDoc}
  */
 public function getAttributes()
 {
     return array_merge(parent::getAttributes(), array('type' => 'radio', 'name' => $this->getParent() ? $this->getParent()->getName() : $this->getName()));
 }