Solar_View_Helper_NamedAction::namedAction()

public string Solar_View_Helper_NamedAction::namedAction ( string $name , array $data = NULL , string $text = NULL , string $attribs = NULL )

Helper to build an anchor for a named action from the rewrite rules, using data interpolation, with built-in text translation.

Parameters

  • (string) $name: The named action from the rewrite rules.

  • (array) $data: Data to interpolate into the token placeholders.

  • (string) $text: A locale translation key.

  • (string) $attribs: Additional attributes for the anchor.

Returns

  • (string)

Description

Helper to build an anchor for a named action from the rewrite rules, using data interpolation, with built-in text translation.



Local