symphony/lib/toolkit/fields/field.input.php 1 location
|
@@ 12-19 (lines=8) @@
|
| 9 |
|
*/ |
| 10 |
|
class FieldInput extends Field implements ExportableField, ImportableField |
| 11 |
|
{ |
| 12 |
|
public function __construct() |
| 13 |
|
{ |
| 14 |
|
parent::__construct(); |
| 15 |
|
$this->_name = __('Text Input'); |
| 16 |
|
$this->_required = true; |
| 17 |
|
|
| 18 |
|
$this->set('required', 'no'); |
| 19 |
|
} |
| 20 |
|
|
| 21 |
|
/*------------------------------------------------------------------------- |
| 22 |
|
Definition: |
symphony/lib/toolkit/fields/field.taglist.php 1 location
|
@@ 14-22 (lines=9) @@
|
| 11 |
|
*/ |
| 12 |
|
class FieldTagList extends Field implements ExportableField, ImportableField |
| 13 |
|
{ |
| 14 |
|
public function __construct() |
| 15 |
|
{ |
| 16 |
|
parent::__construct(); |
| 17 |
|
$this->_name = __('Tag List'); |
| 18 |
|
$this->_required = true; |
| 19 |
|
$this->_showassociation = true; |
| 20 |
|
|
| 21 |
|
$this->set('required', 'no'); |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
/*------------------------------------------------------------------------- |
| 25 |
|
Definition: |
symphony/lib/toolkit/fields/field.textarea.php 1 location
|
@@ 12-21 (lines=10) @@
|
| 9 |
|
*/ |
| 10 |
|
class fieldTextarea extends Field implements ExportableField, ImportableField |
| 11 |
|
{ |
| 12 |
|
public function __construct() |
| 13 |
|
{ |
| 14 |
|
parent::__construct(); |
| 15 |
|
$this->_name = __('Textarea'); |
| 16 |
|
$this->_required = true; |
| 17 |
|
|
| 18 |
|
// Set default |
| 19 |
|
$this->set('show_column', 'no'); |
| 20 |
|
$this->set('required', 'no'); |
| 21 |
|
} |
| 22 |
|
|
| 23 |
|
/*------------------------------------------------------------------------- |
| 24 |
|
Definition: |
symphony/lib/toolkit/fields/field.upload.php 1 location
|
@@ 21-30 (lines=10) @@
|
| 18 |
|
'image/x-png' |
| 19 |
|
); |
| 20 |
|
|
| 21 |
|
public function __construct() |
| 22 |
|
{ |
| 23 |
|
parent::__construct(); |
| 24 |
|
|
| 25 |
|
$this->_name = __('File Upload'); |
| 26 |
|
$this->_required = true; |
| 27 |
|
|
| 28 |
|
$this->set('location', 'sidebar'); |
| 29 |
|
$this->set('required', 'no'); |
| 30 |
|
} |
| 31 |
|
|
| 32 |
|
/*------------------------------------------------------------------------- |
| 33 |
|
Definition: |