ILIAS
trunk Revision v5.2.0beta1-34132-g2d4d73d4a0
|
Public Member Functions | |
__construct (SignalGeneratorInterface $signal_generator, FieldFactory $field_factory, NameSource $name_source, string $title, string $message, string $post_url, FileInput $file_input, ?FormInput $additional_input) | |
getMessage () | |
Get the message of this dropzone. More... | |
withUploadButton (Button $button) | |
Get a dropzone like this, using the given button to upload the files to the server. More... | |
getUploadButton () | |
Get the button to upload the files to the server. More... | |
withBulky (bool $bulky) | |
Makes a dropzone bulky, this to ensure better visibility when the dropzone is to be displayed standalone. More... | |
isBulky () | |
Public Member Functions inherited from ILIAS\UI\Implementation\Component\Dropzone\File\File | |
__construct (SignalGeneratorInterface $signal_generator, FieldFactory $field_factory, NameSource $name_source, string $title, string $post_url, FileInput $file_input, ?FormInput $additional_input) | |
getModal () | |
getClearSignal () | |
Returns a signal that can be used to clear the current file queue. More... | |
getTitle () | |
Get the custom title if set. More... | |
withOnClose (Signal $signal) | |
Get a component like this, triggering a signal of another component on close. More... | |
appendOnClose (Signal $signal) | |
Get a component like this, triggering a signal of another component on close. More... | |
getAsyncRenderUrl () | |
Get the url returning the rendered modal, if the modals content should be rendered via ajax. More... | |
withAsyncRenderUrl (string $url) | |
Get a modal like this who's content is rendered via ajax by the given $url before the modal is shown. More... | |
withCloseWithKeyboard (bool $state) | |
Get a modal like this which can or cannot be closed by keyboard (ESC), depending on the given $state. More... | |
getCloseWithKeyboard () | |
Returns if this modal can be closed with the keyboard (ESC key) More... | |
getShowSignal () | |
Get the signal to show this modal in the frontend. More... | |
getCloseSignal () | |
Get the signal to close this modal in the frontend. More... | |
withOnLoad (Signal $signal) | |
Trigger a signal of another component on load. More... | |
appendOnLoad (Signal $signal) | |
Get a component like this, triggering a signal of another component on load. More... | |
getContent () | |
Get the components representing the content of the modal. More... | |
getActionButtons () | |
Get all action buttons in the footer of the modal. More... | |
getCancelButtonLabel () | |
Get the custom label of the cancel button in the footer. More... | |
withActionButtons (array $buttons) | |
Get a modal like this with the provided action buttons in the footer. More... | |
withCancelButtonLabel (string $label) | |
Get the modal like this with the provided cancel button string. More... | |
getReplaceSignal () | |
Get the signal to replace the content of this modal. More... | |
getPostURL () | |
withSubmitLabel (string $caption) | |
getSubmitLabel () | |
getInputs () | |
withRequest (ServerRequestInterface $request) | |
withAdditionalTransformation (Transformation $trafo) | |
getData () | |
getError () | |
withOnDrop (Signal $signal) | |
Get a component like this, triggering a signal of another component when files have been dropped. More... | |
withAdditionalDrop (Signal $signal) | |
Get a component like this, triggering a signal of another component when files have been dropped. More... | |
withResetSignals () | |
Get a component like this but reset (regenerate) its signals. More... | |
initSignals () | |
Init the default signals plus extra signals like Replace. More... | |
withDedicatedName (string $dedicated_name) | |
No dedicated name can be set for this subform. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Component | |
getCanonicalName () | |
Get the canonical name of the component. More... | |
Public Member Functions inherited from ILIAS\UI\Component\JavaScriptBindable | |
withOnLoadCode (Closure $binder) | |
withAdditionalOnLoadCode (Closure $binder) | |
Add some onload-code to the component instead of replacing the existing one. More... | |
getOnLoadCode () | |
Get the currently bound on load code. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Triggerer | |
withResetTriggeredSignals () | |
Get a component like this but reset any triggered signals of other components. More... | |
getTriggeredSignals () | |
Get all triggered signals of this component. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Button\Button | |
getLabel () | |
Get the label on the button. More... | |
withLabel (string $label) | |
Get a button like this, but with an additional/replaced label. More... | |
getAction () | |
Get the action of the button, i.e. More... | |
isActive () | |
Get to know if the button is activated. More... | |
withUnavailableAction (bool $flag=true) | |
Get a button like this, but action should be unavailable atm. More... | |
withAriaLabel (string $aria_label) | |
Get a button like this, but with an additional/replaced aria-label. More... | |
getAriaLabel () | |
Get the aria-label on the button. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Clickable | |
withOnClick (Signal $signal) | |
Get a component like this, triggering a signal of another component on click. More... | |
appendOnClick (Signal $signal) | |
Get a component like this, triggering a signal of another component on click. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Hoverable | |
withOnHover (Signal $signal) | |
Get a component like this, triggering a signal of another component on hover. More... | |
appendOnHover (Signal $signal) | |
Get a component like this, triggering a signal of another component on hover. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Button\Engageable | |
isEngageable () | |
Returns whether the button is stateful or not. More... | |
withEngagedState (bool $state) | |
Get a copy of the Engageable Button with engaged state for $state=true and with disengaged state for $state=false. More... | |
isEngaged () | |
Returns whether the button is currently engaged or not. More... | |
Public Member Functions inherited from ILIAS\UI\Component\HasHelpTopics | |
withHelpTopics (Topic ... $topics) | |
Let this component have the given topics. More... | |
withAdditionalHelpTopics (Topic ... $topics) | |
Let this component also have the given topics. More... | |
getHelpTopics () | |
Public Member Functions inherited from ILIAS\UI\Component\Button\LoadingAnimationOnClick | |
withLoadingAnimationOnClick (bool $loading_animation_on_click) | |
If clicked the button will display a spinner wheel to show that a request is being processed in the background. More... | |
hasLoadingAnimationOnClick () | |
Return whether loading animation has been activated. More... | |
Protected Attributes | |
Button | $upload_button = null |
string | $message |
bool | $bulky = false |
Protected Attributes inherited from ILIAS\UI\Implementation\Component\Dropzone\File\File | |
SignalGeneratorInterface | $signal_generator |
Signal | $clear_signal |
RoundTrip | $modal |
Definition at line 34 of file Standard.php.
ILIAS\UI\Implementation\Component\Dropzone\File\Standard::__construct | ( | SignalGeneratorInterface | $signal_generator, |
FieldFactory | $field_factory, | ||
NameSource | $name_source, | ||
string | $title, | ||
string | $message, | ||
string | $post_url, | ||
FileInput | $file_input, | ||
?FormInput | $additional_input | ||
) |
Definition at line 40 of file Standard.php.
References ILIAS\UI\Implementation\Component\Dropzone\File\Standard\$message, and ILIAS\GlobalScreen\Provider\__construct().
ILIAS\UI\Implementation\Component\Dropzone\File\Standard::getMessage | ( | ) |
Get the message of this dropzone.
Implements ILIAS\UI\Component\Dropzone\File\Standard.
Definition at line 62 of file Standard.php.
References ILIAS\UI\Implementation\Component\Dropzone\File\Standard\$message.
Referenced by ILIAS\UI\Implementation\Component\Dropzone\File\Renderer\renderStandard().
ILIAS\UI\Implementation\Component\Dropzone\File\Standard::getUploadButton | ( | ) |
Get the button to upload the files to the server.
Implements ILIAS\UI\Component\Dropzone\File\Standard.
Definition at line 74 of file Standard.php.
References ILIAS\UI\Implementation\Component\Dropzone\File\Standard\$upload_button.
Referenced by ILIAS\UI\Implementation\Component\Dropzone\File\Renderer\renderStandard().
ILIAS\UI\Implementation\Component\Dropzone\File\Standard::isBulky | ( | ) |
Definition at line 86 of file Standard.php.
References ILIAS\UI\Implementation\Component\Dropzone\File\Standard\$bulky.
Referenced by ILIAS\UI\Implementation\Component\Dropzone\File\Renderer\renderStandard().
ILIAS\UI\Implementation\Component\Dropzone\File\Standard::withBulky | ( | bool | $bulky | ) |
Makes a dropzone bulky, this to ensure better visibility when the dropzone is to be displayed standalone.
Implements ILIAS\UI\Component\Dropzone\File\Standard.
Definition at line 79 of file Standard.php.
References ILIAS\UI\Implementation\Component\Dropzone\File\Standard\$bulky.
ILIAS\UI\Implementation\Component\Dropzone\File\Standard::withUploadButton | ( | Button | $button | ) |
Get a dropzone like this, using the given button to upload the files to the server.
Implements ILIAS\UI\Component\Dropzone\File\Standard.
Definition at line 67 of file Standard.php.
|
protected |
Definition at line 38 of file Standard.php.
Referenced by ILIAS\UI\Implementation\Component\Dropzone\File\Standard\isBulky(), and ILIAS\UI\Implementation\Component\Dropzone\File\Standard\withBulky().
|
protected |
Definition at line 37 of file Standard.php.
Referenced by ILIAS\UI\Implementation\Component\Dropzone\File\Standard\__construct(), and ILIAS\UI\Implementation\Component\Dropzone\File\Standard\getMessage().
|
protected |
Definition at line 36 of file Standard.php.
Referenced by ILIAS\UI\Implementation\Component\Dropzone\File\Standard\getUploadButton().