|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilUIMarkdownPreviewGUI:
Collaboration diagram for ilUIMarkdownPreviewGUI:Public Member Functions | |
| __construct () | |
| executeCommand () | |
| getAsyncUrl () | |
| Returns an endpoint where the clientside input can submit it's value to and receive the current preview. More... | |
| getParameterName () | |
| Returns the name of the $_POST variable the asynchronous input submits to. More... | |
| renderAsync () | |
| Sends a JSON-response with the rendered preview of the submitted input. More... | |
| render (string $markdown_text) | |
| Returns the rendered preview of the given string. More... | |
Protected Member Functions | |
| sendResponse (string $html) | |
Protected Attributes | |
| const | CMD_RENDER_ASYNC = 'renderAsync' |
| Refinery | $refinery |
| ilCtrlInterface | $ctrl |
| HTTPServices | $http |
Definition at line 31 of file class.ilUIMarkdownPreviewGUI.php.
| ilUIMarkdownPreviewGUI::__construct | ( | ) |
Definition at line 39 of file class.ilUIMarkdownPreviewGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilUIMarkdownPreviewGUI::executeCommand | ( | ) |
Definition at line 48 of file class.ilUIMarkdownPreviewGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and renderAsync().
Here is the call graph for this function:| ilUIMarkdownPreviewGUI::getAsyncUrl | ( | ) |
Returns an endpoint where the clientside input can submit it's value to and receive the current preview.
Note that ilCtrl does not return fully qualified URIs, therefore string is type-hinted.
Implements ILIAS\UI\Component\Input\Field\MarkdownRenderer.
Definition at line 65 of file class.ilUIMarkdownPreviewGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilUIMarkdownPreviewGUI::getParameterName | ( | ) |
Returns the name of the $_POST variable the asynchronous input submits to.
Implements ILIAS\UI\Component\Input\Field\MarkdownRenderer.
Definition at line 75 of file class.ilUIMarkdownPreviewGUI.php.
Referenced by renderAsync().
Here is the caller graph for this function:| ilUIMarkdownPreviewGUI::render | ( | string | $markdown_text | ) |
Returns the rendered preview of the given string.
Implements ILIAS\UI\Component\Input\Field\MarkdownRenderer.
Definition at line 96 of file class.ilUIMarkdownPreviewGUI.php.
References ILIAS\Repository\refinery().
Referenced by renderAsync().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUIMarkdownPreviewGUI::renderAsync | ( | ) |
Sends a JSON-response with the rendered preview of the submitted input.
Implements ILIAS\UI\Component\Input\Field\MarkdownRenderer.
Definition at line 80 of file class.ilUIMarkdownPreviewGUI.php.
References getParameterName(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), render(), and sendResponse().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 101 of file class.ilUIMarkdownPreviewGUI.php.
References ILIAS\FileDelivery\http().
Referenced by renderAsync().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 36 of file class.ilUIMarkdownPreviewGUI.php.
|
protected |
Definition at line 37 of file class.ilUIMarkdownPreviewGUI.php.
|
protected |
Definition at line 35 of file class.ilUIMarkdownPreviewGUI.php.
|
protected |
Definition at line 33 of file class.ilUIMarkdownPreviewGUI.php.