Exemplo n.º 1
0
 /**
  * Hide value to make sure it will not show in HTML
  *
  * @param string $index
  * @return string
  */
 public function getEscapedValue($index = null)
 {
     $value = parent::getEscapedValue($index);
     if (!empty($value)) {
         return $this->_obscuredValue;
     }
     return $value;
 }