src/UI/HTML/Link.php
public function render()
	{
		$attributes	= $this->getAttributes();
		if( is_array( $attributes['href'] ) )
			$attributes['href']	= ADT_URL_Inference::buildStatic( $attributes['href'] );
		$content	= $this->renderInner( $this->content );
		if( !is_string( $content ) )
			throw new InvalidArgumentException( 'Link label is neither rendered nor renderable' );
		return UI_HTML_Tag::create( "a", $content, $attributes );	
	}
public function render()
	{
		$attributes	= $this->getAttributes();
		if( is_array( $attributes['href'] ) )
			$attributes['href']	= ADT_URL_Inference::buildStatic( $attributes['href'] );
		$content	= $this->renderInner( $this->content );
		if( !is_string( $content ) )
			throw new InvalidArgumentException( 'Link label is neither rendered nor renderable' );
		return UI_HTML_Tag::create( "a", $content, $attributes );	
	}
public function render ( ) { $ attributes = $ this -> getAttributes ( ) ; if ( is_array ( $ attributes [ 'href' ] ) ) $ attributes [ 'href' ] = ADT_URL_Inference :: buildStatic ( $ attributes [ 'href' ] ) ; $ content = $ this -> renderInner ( $ this -> content ) ; if ( ! is_string ( $ content ) ) throw new InvalidArgumentException ( 'Link label is neither rendered nor renderable' ) ; return UI_HTML_Tag :: create ( "a" , $ content , $ attributes ) ; }
Returns rendered Link Element
@access		public
@return		string
Returns rendered Link Element