コード例 #1
0
 public function toArray($filterVariableContent = false, &$filtered = array())
 {
     $data = parent::toArray($filterVariableContent, $filtered);
     unset($data['choices']);
     return $data;
 }
コード例 #2
0
 public function removeChoice(Choice $choice, $setNumber = null)
 {
     if ($choice instanceof Gap) {
         return $this->body->removeElement($choice);
     } else {
         parent::removeChoice($choice);
     }
 }