symphony/lib/toolkit/fields/field.upload.php 1 location
|
@@ 820-826 (lines=7) @@
|
| 817 |
|
Events: |
| 818 |
|
-------------------------------------------------------------------------*/ |
| 819 |
|
|
| 820 |
|
public function getExampleFormMarkup() |
| 821 |
|
{ |
| 822 |
|
$label = Widget::Label($this->get('label')); |
| 823 |
|
$label->appendChild(Widget::Input('fields['.$this->get('element_name').']', null, 'file')); |
| 824 |
|
|
| 825 |
|
return $label; |
| 826 |
|
} |
| 827 |
|
} |
| 828 |
|
|
symphony/lib/toolkit/class.field.php 1 location
|
@@ 1708-1714 (lines=7) @@
|
| 1705 |
|
* @return XMLElement |
| 1706 |
|
* a label widget containing the formatted field element name of this. |
| 1707 |
|
*/ |
| 1708 |
|
public function getExampleFormMarkup() |
| 1709 |
|
{ |
| 1710 |
|
$label = Widget::Label($this->get('label')); |
| 1711 |
|
$label->appendChild(Widget::Input('fields['.$this->get('element_name').']')); |
| 1712 |
|
|
| 1713 |
|
return $label; |
| 1714 |
|
} |
| 1715 |
|
|
| 1716 |
|
/** |
| 1717 |
|
* Commit the settings of this field from the section editor to |
symphony/lib/toolkit/fields/field.textarea.php 1 location
|
@@ 395-401 (lines=7) @@
|
| 392 |
|
Events: |
| 393 |
|
-------------------------------------------------------------------------*/ |
| 394 |
|
|
| 395 |
|
public function getExampleFormMarkup() |
| 396 |
|
{ |
| 397 |
|
$label = Widget::Label($this->get('label')); |
| 398 |
|
$label->appendChild(Widget::Textarea('fields['.$this->get('element_name').']', (int)$this->get('size'), 50)); |
| 399 |
|
|
| 400 |
|
return $label; |
| 401 |
|
} |
| 402 |
|
} |
| 403 |
|
|