RoutesUsers module

Users routes

URLs the Users module answers, their parameters and the variables each view receives.

View cdna-admin screens of this module.

Admin view

GET /cdna-admin/users/add-author/{person.id} addAuthor

Add a new record. Assigns an empty record to the template.

Path parameters person.id matches \d+

The admin template receives
VariableTypeDescription
$author Author Single (empty) Author record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/author/{id} editAuthor

Retrieve a single record and display the edit page for the record

Path parameters id matches \d+

The admin template receives
VariableTypeDescription
$author Author Retrieved Author record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/authors manageAuthors

Retrieve available records and assign them to the template for editing.

The admin template receives
VariableTypeDescription
$authors Collection<Author> Collection of Authors

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/add-user/{person.id} addUser

Add a new record. Assigns an empty record to the template.

Path parameters person.id matches \d+

The admin template receives
VariableTypeDescription
$user User Single (empty) User record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/add-author-user/{author.id} addAuthorUser

Add a new record. Assigns an empty record to the template.

Path parameters author.id matches \d+

The admin template receives
VariableTypeDescription
$user User Single (empty) User record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/user/{id} editUser

Retrieve a single record and display the edit page for the record

Path parameters id matches \d+

The admin template receives
VariableTypeDescription
$user User Retrieved User record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/users/{person.groups.id} manageUsers

Retrieve available records and assign them to the template for editing.

Path parameters person.groups.id matches \d+

The admin template receives
VariableTypeDescription
$users Collection<User> Collection of Users

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/add-person addPerson

Add a new record. Assigns an empty record to the template.

The admin template receives
VariableTypeDescription
$person Person Single (empty) Person record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/person/{id} editPerson

Retrieve a single record and display the edit page for the record

Path parameters id matches \d+

The admin template receives
VariableTypeDescription
$person Person Retrieved Person record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/people/{groups.id} managePeople

Retrieve available records and assign them to the template for editing.

Path parameters groups.id matches \d+

The admin template receives
VariableTypeDescription
$people Collection<Person> Collection of People

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/add-group addGroup

Add a new record. Assigns an empty record to the template.

The admin template receives
VariableTypeDescription
$group Group Single (empty) Group record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/group/{id} editGroup

Retrieve a single record and display the edit page for the record

Path parameters id matches \d+

The admin template receives
VariableTypeDescription
$group Group Retrieved Group record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/groups manageGroups

Retrieve available records and assign them to the template for editing.

The admin template receives
VariableTypeDescription
$groups Collection<Group> Collection of Groups

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/add-person-address-type addPersonAddressType

Add a new record. Assigns an empty record to the template.

The admin template receives
VariableTypeDescription
$personAddressType PersonAddressType Single (empty) PersonAddressType record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/person-address-type/{id} editPersonAddressType

Retrieve a single record and display the edit page for the record

Path parameters id matches \d+

The admin template receives
VariableTypeDescription
$personAddressType PersonAddressType Retrieved PersonAddressType record

Common variables such as $_url, $_request and $_menu are available too. Global template variables

GET /cdna-admin/users/person-address-types managePersonAddressTypes

Retrieve available records and assign them to the template for editing.

The admin template receives
VariableTypeDescription
$personAddressTypes Collection<PersonAddressType> Collection of PersonAddressTypes

Common variables such as $_url, $_request and $_menu are available too. Global template variables

Only GET routes list their variables.