t: namespace. TypoTonic registers this namespace automatically once the extension is active.
To get autocompletion for the namespace in your IDE, add it to your template’s <html> tag:
Template.RenderViewHelper
Renders a template file, either a file you predefined in TypoScript, or a manual file path.- template (string) — A file path, or a template identifier configured in
plugin.tx_tonic.templates. - arguments (array) — Arguments passed into the rendered template.
- variables (array) — IDs of additional Template Variables to inject.
- cache (boolean) — Enables or disables caching of the output.
- lifetime (int) — Cache lifetime in seconds.
- cacheIdentifier (string) — A custom cache identifier.
Datatype.GetViewHelper
Fetches a Datatype by its UID.- uid (int) — The UID of the Datatype.
- onlyEnabled (boolean) — Fetches the Datatype only if it is enabled.
Aix\\Tonic\\Domain\\Model\\Datatype
Record.GetViewHelper
Fetches a record by its UID.- uid (int) — The UID of the record.
- datatype (
Aix\\Tonic\\Domain\\Model\\Datatype) — Limits the search to this Datatype. - onlyEnabled (boolean) — Fetches the record only if it is enabled.
Aix\\Tonic\\Domain\\Model\\AbstractRecordModel
Link.RecordViewHelper
Creates a link tag to a record’s detail page. The detail page ID normally comes from the plugin, through{detailPid}.
For additional link parameters, see the TYPO3 f:link.page ViewHelper.
Uri.RecordViewHelper
Creates a URL to a record’s detail page. The detail page ID normally comes from the plugin, through{detailPid}.
For additional link parameters, see the TYPO3 f:uri.page ViewHelper.
Filter.RecordsViewHelper
Adds extra filter conditions to a list of records already injected into your template. Use this to build custom, dynamic filters in Fluid.Basic filter structure
- condition (string) —
ANDorOR. - filters (array) — A list of filter rules.
Each filter rule
- field (string) — The field name to filter on.
- operator (string) — See the operator table below.
- value (mixed) — The value to compare against.
Operators
equal→=not_equal→!=in→INnot_in→NOT INless→<less_or_equal→<=greater→>greater_or_equal→>=between→BETWEENbegins_with→LIKE 'xyz%'not_begins_with→NOT LIKE 'xyz%'contains→LIKE '%xyz%'not_contains→NOT LIKE '%xyz%'ends_with→LIKE '%xyz'not_ends_with→NOT LIKE '%xyz'is_empty→= ''is_not_empty→!= ''is_null→NULLis_not_null→NOT NULL