ILIAS  release_7 Revision v7.30-3-g800a261c036
Textarea.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2017 Jesús López <lopez@leifos.com> Extended GPL, see docs/LICENSE */
4
6
8
12interface Textarea extends FormInput
13{
14
19 public function withMaxLimit($max_limit);
20
25 public function getMaxLimit();
26
31 public function withMinLimit($min_limit);
32
37 public function getMinLimit();
38
43 public function isLimited();
44}
An exception for terminatinating execution or to throw for unit testing.
This describes inputs that can be used in forms.
Definition: FormInput.php:16
This describes Textarea inputs.
Definition: Textarea.php:13
isLimited()
bool if textarea has max or min number of character limit.
withMinLimit($min_limit)
set minimum number of characters
Definition: Textarea.php:68
getMinLimit()
get minimum limit of characters
getMaxLimit()
get maximum limit of characters
withMaxLimit($max_limit)
set maximum number of characters
Definition: Textarea.php:42
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.