CodeRunner Documentation (V3.2.1)

7.2 The Twig STUDENT variable

The template variable STUDENT is an object containing a subset of the fields of the PHP user object. The fields/attributes of STUDENT are:

  • STUDENT.username The unique internal username of the current user.
  • STUDENT.firstname The first name of the current user.
  • STUDENT.lastname The last name of the current user.
  • STUDENT.email The email address of the current user.