src/UI/HTML/AHAH/Link.php
public static function render( $url, $label, $targetId, $class = NULL )
	{
		$attributes	= array(
			'href'		=> "#".$targetId,
			'class'		=> $class,
			'onclick'	=> "ahah('".$url."','".$targetId."');",
		);
		return UI_HTML_Tag::create( 'a', $label, $attributes );
	}
public static function render( $url, $label, $targetId, $class = NULL )
	{
		$attributes	= array(
			'href'		=> "#".$targetId,
			'class'		=> $class,
			'onclick'	=> "ahah('".$url."','".$targetId."');",
		);
		return UI_HTML_Tag::create( 'a', $label, $attributes );
	}
public static function render ( $ url , $ label , $ targetId , $ class = NULL ) { $ attributes = array ( 'href' => "#" . $ targetId , 'class' => $ class , 'onclick' => "ahah('" . $ url . "','" . $ targetId . "');" , ) ; return UI_HTML_Tag :: create ( 'a' , $ label , $ attributes ) ; }
Returns rendered Link Element.
@access		public
@param		string		$url		URL of Page to load
@param		string		$label		Link Label
@param		string		$targetId	ID of Fragment in Page
@param		string		$class		Class Attribute
@return		string
Returns rendered Link Element .