Module export page block. All of these parameters are optional, except for the block type.
optional actionsConfirm:Null<Array<Bool>>
Confirm actions flags list.
Used with BLOCK_LIST
block type.
optional fieldsExt:Null<Array<{param:Null<String>, name:String, func:Null<Dynamic ‑> Vars ‑> String ‑> Void>}>>
Extended list columns.
Used with BLOCK_LIST
block type.
Parameters:
name
Column name.
param
Parameter to get from "params" row field.
func
Function to process and display that column. Its arguments are: database row, request variables, user permissions string.
optional isDisabledInProduction:Null<Bool>
If enabled, this block is disabled in production.
Production status is controlled by server.isProduction
configuration variable.
optional pageAction:Null<String>
Action postfix for next list page link.
Used with BLOCK_LIST
block type.
Page block position in page.
Note: You should not set this in module exports, this value is assigned automatically. However, if you inject a block into the page, you can set its position here.
optional queryTrace:Null<Bool>
If enabled, display query string on page.
Used with BLOCK_LIST
, BLOCK_FORM
block types.
When enabled, will display list values as raw HTML without HTML.quote()
.
Used with BLOCK_LIST
block type.