/** * @param APPLICATION $context Main application. */ public function __construct($context) { parent::__construct($context); $field = new BOOLEAN_FIELD(); $field->id = 'preview'; $field->caption = 'Preview Mails'; $field->description = 'Show the generated mails in the task output. Use with care — output can be quite large.'; $this->add_field($field); }
/** * @param APPLICATION $context Main application. */ public function __construct($context) { parent::__construct($context); $field = new BOOLEAN_FIELD(); $field->id = 'ignore_from_version'; $field->caption = 'Ignore Version in Database'; $field->description = 'Migrate regardless of whether the database has the correct version. Use only if you know what you\'re doing.'; $this->add_field($field); $field = new BOOLEAN_FIELD(); $field->id = 'framework'; $field->visible = false; $this->add_field($field); }