- The Structr Knowledge Graph
- About Structr
- Getting Started
- Installation and Setup
- Working with Structr
- Advanced Topics
It is a simple interpreted scripting language that consists of keywords and functions. StructrScript has no control structures, it is interpreted like a fully functional language, although some of the Built-In Functions have side effects.
The following statements are typical examples for the use of StructrScript.
|Converts the first letter of the name of the current space to uppercase.|
|Outputs ‘active’ if the name of the current page is ‘index’, typically used in the class attribute of navigation elements to mark a link.|
|Boolean expression to determine if the current request is made by an authenticated user, evaluates to false if no current user is set.|
|Outputs the name of each user in the system the current user has read access to.|