src/UI/HTML/Exception/Trace.php
protected static function renderArgumentType( $argument )
	{
		$type		= gettype( $argument );
		$length		= '';
		if( $type == 'string' )
			$length	= '('.strlen( $argument ).')';
		else if( $type == 'array' || $argument instanceof Countable )
			$length	= '('.count( $argument ).')';
		$type	= ucFirst( strtolower( gettype( $argument ) ) );
		return UI_HTML_Tag::create( 'span', $type.$length, array( 'class' => 'type' ) );
	}
protected static function renderArgumentType( $argument )
	{
		$type		= gettype( $argument );
		$length		= '';
		if( $type == 'string' )
			$length	= '('.strlen( $argument ).')';
		else if( $type == 'array' || $argument instanceof Countable )
			$length	= '('.count( $argument ).')';
		$type	= ucFirst( strtolower( gettype( $argument ) ) );
		return UI_HTML_Tag::create( 'span', $type.$length, array( 'class' => 'type' ) );
	}
protected static function renderArgumentType ( $ argument ) { $ type = gettype ( $ argument ) ; $ length = '' ; if ( $ type == 'string' ) $ length = '(' . strlen ( $ argument ) . ')' ; else if ( $ type == 'array' || $ argument instanceof Countable ) $ length = '(' . count ( $ argument ) . ')' ; $ type = ucFirst ( strtolower ( gettype ( $ argument ) ) ) ; return UI_HTML_Tag :: create ( 'span' , $ type . $ length , array ( 'class' => 'type' ) ) ; }
Renders formatted argument type.
@access		protected
@static
@param		string		$argument		Argument to render type for
@return		string
Renders formatted argument type .