symphony/lib/toolkit/class.field.php 1 location
|
@@ 1555-1561 (lines=7) @@
|
| 1552 |
|
* @return XMLElement |
| 1553 |
|
* a label widget containing the formatted field element name of this. |
| 1554 |
|
*/ |
| 1555 |
|
public function getExampleFormMarkup() |
| 1556 |
|
{ |
| 1557 |
|
$label = Widget::Label($this->get('label')); |
| 1558 |
|
$label->appendChild(Widget::Input('fields['.$this->get('element_name').']')); |
| 1559 |
|
|
| 1560 |
|
return $label; |
| 1561 |
|
} |
| 1562 |
|
|
| 1563 |
|
/** |
| 1564 |
|
* Commit the settings of this field from the section editor to |
symphony/lib/toolkit/fields/field.textarea.php 1 location
|
@@ 390-396 (lines=7) @@
|
| 387 |
|
Events: |
| 388 |
|
-------------------------------------------------------------------------*/ |
| 389 |
|
|
| 390 |
|
public function getExampleFormMarkup() |
| 391 |
|
{ |
| 392 |
|
$label = Widget::Label($this->get('label')); |
| 393 |
|
$label->appendChild(Widget::Textarea('fields['.$this->get('element_name').']', (int)$this->get('size'), 50)); |
| 394 |
|
|
| 395 |
|
return $label; |
| 396 |
|
} |
| 397 |
|
} |
| 398 |
|
|
symphony/lib/toolkit/fields/field.upload.php 1 location
|
@@ 802-808 (lines=7) @@
|
| 799 |
|
Events: |
| 800 |
|
-------------------------------------------------------------------------*/ |
| 801 |
|
|
| 802 |
|
public function getExampleFormMarkup() |
| 803 |
|
{ |
| 804 |
|
$label = Widget::Label($this->get('label')); |
| 805 |
|
$label->appendChild(Widget::Input('fields['.$this->get('element_name').']', null, 'file')); |
| 806 |
|
|
| 807 |
|
return $label; |
| 808 |
|
} |
| 809 |
|
} |
| 810 |
|
|