Class Savant3_Plugin_ahref

Description

Generates an <a href="">...</a> tag.

Located in /Savant3/resources/Savant3_Plugin_ahref.php (line 27)

Savant3_Plugin
   |
   --Savant3_Plugin_ahref
Method Summary
string ahref (string|array $href, string $text, [string|array $attr = null])
Variables

Inherited Variables

Inherited from Savant3_Plugin

Savant3_Plugin::$Savant
Methods
ahref (line 48)

Generate an HTML <a href="">...</a> tag.

  • return: The <a href="">...</a> tag.
  • access: public
string ahref (string|array $href, string $text, [string|array $attr = null])
  • string|array $href: A string URL for the resulting tag. May also be an array with any combination of the keys 'scheme', 'host', 'path', 'query', and 'fragment' (c.f. PHP's native parse_url() function).
  • string $text: The displayed text of the link.
  • string|array $attr: Any extra attributes for the <a> tag.

Inherited Methods

Inherited From Savant3_Plugin

Savant3_Plugin::__construct()

Documentation generated on Tue, 31 Mar 2009 16:24:42 -0500 by phpDocumentor 1.4.2