EditRecordViewHelper extends AbstractTagBasedViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <backend:link.editrecord>
Use this ViewHelper to provide edit links to records. The ViewHelper will pass the uid and table to FormEngine.
The uid must be given as a positive integer.
For new records, use the :ref:<be:link.newRecordViewHelper> <typo3-backend-link-newrecord>
.
Examples
Link to the record-edit action passed to FormEngine::
<be:link.editRecord uid="42" table="a_table" returnUrl="foo/bar" />
Output::
Edit recordLink to edit page uid=3 and then return back to the BE module "web_MyextensionList"::
<be:link.editRecord uid="3" table="pages" returnUrl="{f:be.uri(route: 'web_MyextensionList')}">
Link to edit only the fields title and subtitle of page uid=42 and return to foo/bar::
<be:link.editRecord uid="42" table="pages" fields="title,subtitle" returnUrl="foo/bar"> Edit record </be:link.editRecord>
Output::
Edit recordTable of Contents
Properties
- $tagName : string
Methods
- initializeArguments() : mixed
- render() : string
Properties
$tagName
protected
string
$tagName
= 'a'
Methods
initializeArguments()
public
initializeArguments() : mixed
render()
public
render() : string