original_string: public static function isFieldEditable($fieldName) {
  		if( $fieldName == static::$IDFIELD ) {
  			return false;
  		}
  		if( !is_null(static::$editableFields) ) {
  			return in_array($fieldName, static::$editableFields);
  		}
  		if( method_exists(static::$validator, 'isFieldEditable') ) {
  			return in_array($fieldName, static::$editableFields);
  		}
  		return in_array($fieldName, static::$fields);
  	}
code: public static function isFieldEditable($fieldName) {
  		if( $fieldName == static::$IDFIELD ) {
  			return false;
  		}
  		if( !is_null(static::$editableFields) ) {
  			return in_array($fieldName, static::$editableFields);
  		}
  		if( method_exists(static::$validator, 'isFieldEditable') ) {
  			return in_array($fieldName, static::$editableFields);
  		}
  		return in_array($fieldName, static::$fields);
  	}
code_tokens: public static function isFieldEditable ( $ fieldName ) { if ( $ fieldName == static :: $ IDFIELD ) { return false ; } if ( ! is_null ( static :: $ editableFields ) ) { return in_array ( $ fieldName , static :: $ editableFields ) ; } if ( method_exists ( static :: $ validator , 'isFieldEditable' ) ) { return in_array ( $ fieldName , static :: $ editableFields ) ; } return in_array ( $ fieldName , static :: $ fields ) ; }
docstring: Test if field is editable
  
  @param string $fieldName
  @return boolean
docstring_tokens: Test if field is editable