Skip to content

Apply code styling to function names #9788

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ This way the first statement gets evaluated.

Mendix provides you with a number of system items which describe the current user's session. You can use these in the same way as any other named item.

### $currentUser
### `$currentUser`

This is an object of type `System.User` which contains the attributes for the currently signed-in user.

{{% alert color="warning" %}}
For performance reasons, this information is cached. If you need the current value of attributes which might have changed during the session, you should retrieve the latest data from the database.
{{% /alert %}}

### $currentSession
### `$currentSession`

This is an object of type `System.Session` which contains the attributes for the current user session.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The first parameter can be an attribute of a domain model entity of type **Date

You can also subtract a time period from the specified date. For more information, see [Subtract Date Function Calls](/refguide/subtract-date-function-calls/).

## addMilliseconds {#addMilliseconds}
## `addMilliseconds` {#addMilliseconds}

The `addMilliseconds` function adds a specified number of milliseconds to a date.

Expand Down Expand Up @@ -47,7 +47,7 @@ The output is:
"Mon Jan 01 01:01:02:400 CET 2007"
```

## addSeconds {#addSeconds}
## `addSeconds` {#addSeconds}

The `addSeconds` function adds a specified number of seconds to a date.

Expand Down Expand Up @@ -82,7 +82,7 @@ The output is:
"Mon Jan 01 01:01:03 CET 2007"
```

## addMinutes {#addMinutes}
## `addMinutes` {#addMinutes}

The `addMinutes` function adds a number of minutes to a date.

Expand Down Expand Up @@ -117,7 +117,7 @@ The output is:
"Mon Jan 01 01:04:01 CET 2007"
```

## addHours {#addHours}
## `addHours` {#addHours}

The `addHours` function adds a number of hours to a date.

Expand Down Expand Up @@ -152,7 +152,7 @@ The output is:
"Mon Jan 02 02:01:01 CET 2007"
```

## addDays[UTC] {#addDays}
## `addDays[UTC]` {#addDays}

The `addDaysUTC` function adds a number of days to a date. `addDays` uses the server's calendar and `addDaysUTC` uses the UTC calendar.

Expand Down Expand Up @@ -187,7 +187,7 @@ The output is:
"Mon Jan 04 01:01:01 CET 2007"
```

## addWeeks[UTC] {#addWeeks}
## `addWeeks[UTC]` {#addWeeks}

The `addWeeksUTC` function adds a number of weeks to a date using the UTC calendar as opposed to `addWeeks` which uses the server's one.

Expand Down Expand Up @@ -222,7 +222,7 @@ The output is:
"Mon Jan 15 01:01:01 CET 2007"
```

## addMonths[UTC] {#addMonths}
## `addMonths[UTC]` {#addMonths}

The `addMonthsUTC` function adds a number of months to a date using the UTC calendar as opposed to `addMonths` which uses the server's one.

Expand Down Expand Up @@ -257,7 +257,7 @@ The output is:
"Mon Feb 01 01:01:01 CET 2008"
```

## addQuarters[UTC] {#addQuarters}
## `addQuarters[UTC]` {#addQuarters}

The `addQuartersUTC` function adds a number of quarters to a date using the UTC calendar as opposed to `addQuarters` which uses the server's one.

Expand Down Expand Up @@ -292,7 +292,7 @@ The output is:
Mon Apr 01 01:01:01 CET 2007
```

## addYears[UTC] {#addYears}
## `addYears[UTC]` {#addYears}

The `addYearsUTC` function adds a number of years to a date using the UTC calendar as opposed to `addYears` which uses the server's one.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 20

This document describes the arithmetic operators which are supported in expressions. These all work on numeric data types (Integer/Long and Decimal).

## Multiplication (*) {#multiplication}
## Multiplication (`*`) {#multiplication}

Multiplies two numbers.

Expand Down Expand Up @@ -41,7 +41,7 @@ The output is:
6
```

## Division (div or :) {#division}
## Division (`div` or `:`) {#division}

Divides two numbers. You can use either the `div` or colon ( `:` ) syntax, as can be seen below in the examples. The colon ( `:` ) syntax is inspired by the divide symbol `÷`. We cannot use the more conventional slash ( / ) syntax because that would conflict with the slash which is used for separating objects and members.

Expand Down Expand Up @@ -128,7 +128,7 @@ The result of a division is only an approximation if it has an infinite decimal

Therefore, it is recommended to do division operations last.

## Modulo (mod) {#modulo}
## Modulo (`mod`) {#modulo}

Calculates the remainder of the division of one number by another. In other words, `m` modulo `n` corresponds to: `m = p + k*n`, where `p` is the result of the operation `m` modulo `n`.

Expand Down Expand Up @@ -161,7 +161,7 @@ the output is:
3
```

## Addition (+) {#addition}
## Addition (`+`) {#addition}

Adds two numbers.

Expand Down Expand Up @@ -196,7 +196,7 @@ the output is:
1
```

## Subtraction (-) {#subtraction}
## Subtraction (`-`) {#subtraction}

Subtracts the second input from the first.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The first parameter can be an attribute of an entity of type **Date and time**,

You can also calculate the end of a time period from the specified date. For more information, see [End-of Date Function Calls](/refguide/end-of-date-function-calls/).

## beginOfDay {#beginOfDay}
## `beginOfDay` {#beginOfDay}

The `beginOfDay` function calculates the beginning of the day compared to the initial date.

Expand Down Expand Up @@ -47,7 +47,7 @@ The output is:
"Wed Feb 07 00:00 CET 2007"
```

## beginOfWeek {#beginOfWeek}
## `beginOfWeek` {#beginOfWeek}

The `beginOfWeek` function calculates the beginning of the week compared to the initial date. The beginning and the end of the week are based on the user's locale. In the case of an anonymous user, the browser's locale is used instead.

Expand Down Expand Up @@ -81,7 +81,7 @@ The output is:
"Sun Feb 04 00:00 CET 2007"
```

## beginOfMonth {#beginOfMonth}
## `beginOfMonth` {#beginOfMonth}

The `beginOfMonth` function calculates the beginning of the month compared to the initial date.

Expand Down Expand Up @@ -115,7 +115,7 @@ The output is:
"Thu Feb 01 00:00 CET 2007"
```

## beginOfYear {#beginOfYear}
## `beginOfYear` {#beginOfYear}

The `beginOfYear` function calculates the beginning of the year compared to the initial date.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 100

Between date function calls calculate the absolute difference between two dates. The difference will always be zero or a positive number.

## millisecondsBetween {#millisecondsBetween}
## `millisecondsBetween` {#millisecondsBetween}

The `millisecondsBetween` function calculates the absolute difference between the input values in milliseconds.

Expand Down Expand Up @@ -43,7 +43,7 @@ The output is:
2000
```

## secondsBetween {#secondsBetween}
## `secondsBetween` {#secondsBetween}

The `secondsBetween` function calculates the absolute difference between the input values in seconds.

Expand Down Expand Up @@ -78,7 +78,7 @@ The output is:
62
```

## minutesBetween {#minutesBetween}
## `minutesBetween` {#minutesBetween}

The `minutesBetween` function calculates the absolute difference between the input values in minutes.

Expand Down Expand Up @@ -113,7 +113,7 @@ The output is:
1
```

## hoursBetween {#hoursBetween}
## `hoursBetween` {#hoursBetween}

The `hoursBetween` function calculates the absolute difference between the input values in hours.

Expand Down Expand Up @@ -148,7 +148,7 @@ The output is:
2.5
```

## daysBetween {#daysBetween}
## `daysBetween` {#daysBetween}

The `daysBetween` function calculates the absolute difference between the input values in days.

Expand Down Expand Up @@ -183,7 +183,7 @@ The output is:
43
```

## weeksBetween {#weeksBetween}
## `weeksBetween` {#weeksBetween}

The `weeksBetween` function calculates the absolute difference between the input values in weeks.

Expand Down Expand Up @@ -218,7 +218,7 @@ The output results in 8 days divided by 7 days in a week:
1.1428571428571428
```

## calendarMonthsBetween {#calendarMonthsBetween}
## `calendarMonthsBetween` {#calendarMonthsBetween}

The `calendarMonthsBetween` function calculates the absolute difference between the input values in months. Time will be ignored. The dates are assumed to be in the end-user's local time zone.

Expand Down Expand Up @@ -253,7 +253,7 @@ The output results in the amount of months between the two dates:
7
```

## calendarYearsBetween {#calendarYearsBetween}
## `calendarYearsBetween` {#calendarYearsBetween}

The `calendarYearsBetween` function calculates the absolute difference between the input values in years. Time will be ignored. The dates are assumed to be in the end-user's local time zone.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 50

Boolean expressions can be used to perform logical operations that return either true or false.

## and {#and}
## `and` {#and}

The `and` operator checks two Boolean expressions and only returns `true` if both of the expressions are true.

Expand All @@ -32,7 +32,7 @@ The examples below illustrate which value the expression returns:

The output is `false`, because only the second expression is `true`.

## or {#or}
## `or` {#or}

The `or` operator combines two Boolean expressions, and returns `true` if at least one of the expressions is true.

Expand All @@ -58,7 +58,7 @@ The examples below illustrate which value the expression returns:

The expression will return `false`, because both expressions are false.

## not {#not}
## `not` {#not}

The `not` operator negates the specified Boolean expression.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The first parameter can be an attribute of an entity of type **Date and time**,

You can also calculate the end of a time period from the specified date. For more information, see [Begin-of Date Function Calls](/refguide/begin-of-date-function-calls/).

## endOfDay {#endOfDay}
## `endOfDay` {#endOfDay}

The `endOfDay` function calculates the end of the day compared to the initial date.

Expand Down Expand Up @@ -45,7 +45,7 @@ The output is:
"Wed Feb 07 23:59 CET 2007"
```

## endOfWeek {#endOfWeek}
## `endOfWeek` {#endOfWeek}

The `endOfWeek` function calculates the end of the week compared to the initial date. The beginning and the end of the week are based on the user's locale. In the case of an anonymous user, the browser's locale is used instead.

Expand Down Expand Up @@ -77,7 +77,7 @@ The output is:
"Sat Feb 10 23:59 CET 2007"
```

## endOfMonth {#endOfMonth}
## `endOfMonth` {#endOfMonth}

The `endOfMonth` function calculates the end of the month compared to the initial date.

Expand Down Expand Up @@ -109,7 +109,7 @@ The output is:
"Wed Feb 28 23:59 CET 2007"
```

## endOfYear {#endOfYear}
## `endOfYear` {#endOfYear}

The `endOfYear` function calculates the end of the year compared to the initial date.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else
false
```

## getCaption {#getCaption}
## `getCaption` {#getCaption}

The `getCaption` function takes an enumeration value and returns the caption of this value. The *caption* is a translatable string and the result of this function depends on the current language.

Expand Down Expand Up @@ -64,7 +64,7 @@ The output can be:
Gouden
```

## getKey {#getKey}
## `getKey` {#getKey}

The `getKey` function takes an enumeration value and returns the key (called *Name* in Studio Pro) of this value. The key is the technical name for the enumeration value and is language independent. For more information, see [Enumerations](/refguide/enumerations/).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 135

Basic function to determine the length of a string or a list.

## length
## `length`

Determines the length of a string or a list and outputs the value as an integer.

Expand Down
Loading