| addDiscount |
GET /cdna-admin/discounts/add-discount
|
| Name |
Type |
Description |
| discount |
Discount
|
Single (empty) Discount record
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Add a new record. Assigns an empty record to the template. |
| editDiscount |
GET /cdna-admin/discounts/discount/{id}
|
| Name |
Type |
Description |
| discount |
Discount
|
Retrieved Discount record
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Retrieve a single record and display the edit page for the record |
| manageDiscounts |
GET /cdna-admin/discounts/discounts
|
| Name |
Type |
Description |
| discounts |
Collection (Discount)
|
Collection of Discounts
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Retrieve available records and assign them to the template for editing. |
| addRule |
GET /cdna-admin/discounts/add-rule/{discount.id}
|
| Name |
Type |
Description |
| rule |
Rule
|
Single (empty) Rule record
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Add a new record. Assigns an empty record to the template. |
| editRule |
GET /cdna-admin/discounts/rule/{id}
|
| Name |
Type |
Description |
| rule |
Rule
|
Retrieved Rule record
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Retrieve a single record and display the edit page for the record |
| manageRules |
GET /cdna-admin/discounts/rules/{discount.id}
|
| Name |
Type |
Description |
| rules |
Collection (Rule)
|
Collection of Rules
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Retrieve available records and assign them to the template for editing. |
| addCode |
GET /cdna-admin/discounts/add-code/{discount.id}
|
| Name |
Type |
Description |
| code |
Code
|
Single (empty) Code record
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Add a new record. Assigns an empty record to the template. |
| editCode |
GET /cdna-admin/discounts/code/{id}
|
| Name |
Type |
Description |
| code |
Code
|
Retrieved Code record
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Retrieve a single record and display the edit page for the record |
| manageCodes |
GET /cdna-admin/discounts/codes/{discount.id}
|
| Name |
Type |
Description |
| codes |
Collection (Code)
|
Collection of Codes
|
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Retrieve available records and assign them to the template for editing. |
| addCondition |
GET /cdna-admin/discounts/add-condition/{type}/{rule.id}
| type |
[a-zA-Z]+ |
| rule.id |
\d+ |
|
| Name |
Type |
Description |
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Add a new record. Assigns an empty record to the template. |
| addAction |
GET /cdna-admin/discounts/add-action/{type}/{rule.id}
| type |
[a-zA-Z]+ |
| rule.id |
\d+ |
|
| Name |
Type |
Description |
| _messages |
Coredna\Kernel\Helper\Response\Messages
|
Messages helper; used to retrieve messages from the controller
|
| _currentSite |
Site
|
Current site
|
| _url |
Coredna\Kernel\Helper\Url
|
URL helper; used to generate urls
|
| _request |
Coredna\Kernel\Helper\Response\Request
|
Current HTTP request
|
| _configuration |
Coredna\Kernel\Helper\Response\Configuration
|
Configuration helper; provides access to the site's configuration
|
| __ |
Coredna\Kernel\Helper\Translator
|
Translation helper; allows translating keys to text
|
| _validation |
Coredna\Kernel\Helper\Validation
|
Validation helper; allows displaying error messages from validation errors
|
|
Add a new record. Assigns an empty record to the template. |