protected function validateOpacity($value) {
    if (!is_numeric($value) || $value < 0 || $value > 100) {
      $this->triggerError('opacity is not valid');
      return FALSE;
    }
    return TRUE;
  }
protected function validateOpacity($value) {
    if (!is_numeric($value) || $value < 0 || $value > 100) {
      $this->triggerError('opacity is not valid');
      return FALSE;
    }
    return TRUE;
  }
protected function validateOpacity ( $ value ) { if ( ! is_numeric ( $ value ) || $ value < 0 || $ value > 100 ) { $ this -> triggerError ( 'opacity is not valid' ) ; return FALSE ; } return TRUE ; }
Validates the opacity attribute.
Validates the opacity attribute .