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