link_to¶
Summary¶
- link_to(Omeka_Record_AbstractRecord|string $record, string $action, string $text, array $props = Array, array $queryParams = Array)¶
Return a link tag.
Parameters: - $record (Omeka_Record_AbstractRecord|string) – The name of the controller to use for the link. If a record instance is passed, then it inflects the name of the controller from the record class.
- $action (string) – The action to use for the link
- $text (string) – The text to put in the link. Default is ‘View’.
- $props (array) – Attributes for the <a> tag
- $queryParams (array) – the parameters in the uri query
Returns: string HTML