예제 #1
0
 /**
  * Get the data in a serializable format.
  *
  * @return array
  */
 public function yamlSerialize()
 {
     $option = parent::yamlSerialize();
     $option['specific'] = array('choice' => $this->choice);
     return $option;
 }
예제 #2
0
 /**
  * Get the data in a serializable format.
  *
  * @return array
  */
 public function yamlSerialize()
 {
     $option = parent::yamlSerialize();
     $option['specific'] = array('regex' => $this->regex, 'regexError' => $this->regexError, 'html' => $this->html);
     return $option;
 }