protected function alert($type = 'message', $content = null, $emphasis = null, $dismissible = false, array $attributes = array())
	{
		$attributes = array_merge(array('class' => 'alert' . ($dismissible ? ' alert-dismissable' : '') . ' alert-' . ($type != 'message' ? $type : 'default')), $attributes);
		$return = '<div ' . $this->html->attributes($attributes) . '>';

		if ($dismissible !== false) {
			$return .= '<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>';
		}

		$return .= ($emphasis !== null && is_string($emphasis) ? '<strong>' . $emphasis . '</strong> ' : '') . $content . '</div>';

		return $return;
	}
protected function alert($type = 'message', $content = null, $emphasis = null, $dismissible = false, array $attributes = array())
	{
		$attributes = array_merge(array('class' => 'alert' . ($dismissible ? ' alert-dismissable' : '') . ' alert-' . ($type != 'message' ? $type : 'default')), $attributes);
		$return = '<div ' . $this->html->attributes($attributes) . '>';

		if ($dismissible !== false) {
			$return .= '<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>';
		}

		$return .= ($emphasis !== null && is_string($emphasis) ? '<strong>' . $emphasis . '</strong> ' : '') . $content . '</div>';

		return $return;
	}
protected function alert ( $ type = 'message' , $ content = null , $ emphasis = null , $ dismissible = false , array $ attributes = array ( ) ) { $ attributes = array_merge ( array ( 'class' => 'alert' . ( $ dismissible ? ' alert-dismissable' : '' ) . ' alert-' . ( $ type != 'message' ? $ type : 'default' ) ) , $ attributes ) ; $ return = '<div ' . $ this -> html -> attributes ( $ attributes ) . '>' ; if ( $ dismissible !== false ) { $ return .= '<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>' ; } $ return .= ( $ emphasis !== null && is_string ( $ emphasis ) ? '<strong>' . $ emphasis . '</strong> ' : '' ) . $ content . '</div>' ; return $ return ; }
Create an alert item with optional emphasis.

@param string  $type
@param string  $content
@param string  $emphasis
@param boolean $dismissible
@param array   $attributes

@return string
Create an alert item with optional emphasis .