예제 #1
0
 /**
  * Show the confirmation message and return result.
  *
  * @return bool
  */
 public function show()
 {
     $char = parent::show();
     if ($this->ignoreCase) {
         $response = strtolower($char) === strtolower($this->yesChar);
     } else {
         $response = $char === $this->yesChar;
     }
     return $this->lastResponse = $response;
 }
예제 #2
0
파일: Confirm.php 프로젝트: Baft/Zend-Form
 /**
  * Show the confirmation message and return result.
  *
  * @return bool
  */
 public function show()
 {
     $response = parent::show() === $this->yesChar;
     return $this->lastResponse = $response;
 }