src/eXpansion/Framework/Gui/Components/uiTextbox.php 1 location
|
@@ 37-43 (lines=7) @@
|
| 34 |
|
* @param int $lines |
| 35 |
|
* @param int $width |
| 36 |
|
*/ |
| 37 |
|
public function __construct($name, $default = "", $lines = 1, $width = 30) |
| 38 |
|
{ |
| 39 |
|
$this->name = $name; |
| 40 |
|
$this->default = $default; |
| 41 |
|
$this->lines = $lines; |
| 42 |
|
$this->setSize($width, ($lines * 5) + 2); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
/** |
| 46 |
|
* Render the XML element |
src/eXpansion/Framework/Gui/Components/uiInput.php 1 location
|
@@ 31-38 (lines=8) @@
|
| 28 |
|
|
| 29 |
|
protected $textFormat = "Basic"; |
| 30 |
|
|
| 31 |
|
public function __construct($name, $default = "", $width = 30, $textFormat = "Basic") |
| 32 |
|
{ |
| 33 |
|
$this->name = $name; |
| 34 |
|
$this->default = $default; |
| 35 |
|
$this->width = $width; |
| 36 |
|
$this->setSize($width, 5); |
| 37 |
|
$this->textFormat = $textFormat; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
/** |
| 41 |
|
* Render the XML element |
src/eXpansion/Framework/Gui/Components/uiInputMasked.php 1 location
|
@@ 31-38 (lines=8) @@
|
| 28 |
|
|
| 29 |
|
protected $textFormat = "Password"; |
| 30 |
|
|
| 31 |
|
public function __construct($name, $default = "", $width = 30, $textFormat = "Password") |
| 32 |
|
{ |
| 33 |
|
$this->name = $name; |
| 34 |
|
$this->default = $default; |
| 35 |
|
$this->width = $width; |
| 36 |
|
$this->setSize($width, 5); |
| 37 |
|
$this->textFormat = $textFormat; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
/** |
| 41 |
|
* Render the XML element |