Documentation

edit_page.php

Term Editor Page View

Emits only the data the editor needs; the form itself is rendered by the termEditPage component from GET /api/v1/terms/for-edit, so /word/edit, /word/edit-term and /words/{id}/edit all share one implementation with the reading view's modal.

Variables expected:

  • $textId: int - Text ID (0 when editing an existing term directly)
  • $position: int - Word position in the text (0 when not from a text)
  • $wordId: int|null - Term ID, or null when creating from a text position
  • $returnUrl: string - Where to go once editing finishes

PHP version 8.1

Tags
category

Lwt

author

HugoFara git@hugofara.net

license

Unlicense http://unlicense.org/

link
https://hugofara.github.io/lwt/developer/api
since
3.3.0

Table of Contents

On this page
  • Table Of Contents

Search results