getValue() public method

Returns selected key.
public getValue ( ) : string | integer
return string | integer
示例#1
0
 /**
  * Returns selected radio value.
  * @return mixed
  */
 public function getValue($raw = FALSE)
 {
     if ($raw) {
         trigger_error(__METHOD__ . '(TRUE) is deprecated; use getRawValue() instead.', E_USER_DEPRECATED);
         return $this->getRawValue();
     }
     return parent::getValue();
 }
示例#2
0
 /**
  * Returns selected radio value.
  * @return mixed
  */
 public function getValue()
 {
     return parent::getValue();
 }