|
dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
|
Schützt dargestellten Code vor den dbxTPL- und dbxInterpreter-Pipelines. Mehr ...
Öffentliche Methoden | |
| __construct () | |
| protect (string $content, array &$blocks, bool $protect_textarea=true) | |
| restore (string $content, array $blocks) | |
Schützt dargestellten Code vor den dbxTPL- und dbxInterpreter-Pipelines.
Alles innerhalb semantischer Codeelemente, Markdown-Codeblöcke und explizit als inert markierter Dokumentationsbereiche bleibt bytegetreu erhalten.
| dbxInertCode::__construct | ( | ) |
| dbxInertCode::protect | ( | string | $content, |
| array & | $blocks, | ||
| bool | $protect_textarea = true ) |
| string | $content | Zu schützender Dokumentationsinhalt |
| array | $blocks | Ablage für geschützte Codeblöcke |
| bool | $protect_textarea | Auch Textarea-Inhalte als inerten Code behandeln |
| dbxInertCode::restore | ( | string | $content, |
| array | $blocks ) |
| string | $content | Inhalt mit Schutzmarken |
| array | $blocks | Zuvor abgelegte Codeblöcke |