protected function tagLink()
	{
		// Initialize string
		$html = '';

		// Add favicon link tags
		$this->addFavicon();

		// Add stylesheets link tags
		$this->addStyleSheets();

		foreach ($this->link as $link)
		{
			if (array_key_exists(1, $link) && $link[1] && array_key_exists(0, $link) && $link[0])
			{
				// Initialize starting string for conditional comments
				$start_cond = '';
				// Initialize ending string for conditional comments
				$end_cond = '';
				// Initialize string for type attribute
				$type = '';
				// Initialize string for other attributes
				$attr = '';

				// Check for conditional comments
				if (array_key_exists(4, $link) && $link[4])
				{
					// Set starting string for conditional comments
					$start_cond = '<!--[if '.$link[4].']>';
					// Set ending string for conditional comments
					$end_cond = '<![endif]-->';
				}

				// Check for attributes
				if (array_key_exists(3, $link) && is_array($link[3]))
				{
					foreach ($link[3] as $name => $content)
					{
						// Check if values are not empty
						if ($name && $content)
						{
							// Set strings for each attribute
							$attr .= ' '.$name.'="'.$content.'"';
						}
					}
				}

				// Check for type attribute
				if (array_key_exists(2, $link) && $link[2])
				{
					// Set string for type attribute
					$type = ' type="'.$link[2].'"';
				}

				// Return tag for each registered link
				$html .= $start_cond.'<link rel="'.$link[0].'" href="'.$link[1].'"'.$type.$attr.'>'.$end_cond . "\n\t";
			}
		}

		// Return complete string
		return $html;
	}
protected function tagLink()
	{
		// Initialize string
		$html = '';

		// Add favicon link tags
		$this->addFavicon();

		// Add stylesheets link tags
		$this->addStyleSheets();

		foreach ($this->link as $link)
		{
			if (array_key_exists(1, $link) && $link[1] && array_key_exists(0, $link) && $link[0])
			{
				// Initialize starting string for conditional comments
				$start_cond = '';
				// Initialize ending string for conditional comments
				$end_cond = '';
				// Initialize string for type attribute
				$type = '';
				// Initialize string for other attributes
				$attr = '';

				// Check for conditional comments
				if (array_key_exists(4, $link) && $link[4])
				{
					// Set starting string for conditional comments
					$start_cond = '<!--[if '.$link[4].']>';
					// Set ending string for conditional comments
					$end_cond = '<![endif]-->';
				}

				// Check for attributes
				if (array_key_exists(3, $link) && is_array($link[3]))
				{
					foreach ($link[3] as $name => $content)
					{
						// Check if values are not empty
						if ($name && $content)
						{
							// Set strings for each attribute
							$attr .= ' '.$name.'="'.$content.'"';
						}
					}
				}

				// Check for type attribute
				if (array_key_exists(2, $link) && $link[2])
				{
					// Set string for type attribute
					$type = ' type="'.$link[2].'"';
				}

				// Return tag for each registered link
				$html .= $start_cond.'<link rel="'.$link[0].'" href="'.$link[1].'"'.$type.$attr.'>'.$end_cond . "\n\t";
			}
		}

		// Return complete string
		return $html;
	}
protected function tagLink ( ) { // Initialize string $ html = '' ; // Add favicon link tags $ this -> addFavicon ( ) ; // Add stylesheets link tags $ this -> addStyleSheets ( ) ; foreach ( $ this -> link as $ link ) { if ( array_key_exists ( 1 , $ link ) && $ link [ 1 ] && array_key_exists ( 0 , $ link ) && $ link [ 0 ] ) { // Initialize starting string for conditional comments $ start_cond = '' ; // Initialize ending string for conditional comments $ end_cond = '' ; // Initialize string for type attribute $ type = '' ; // Initialize string for other attributes $ attr = '' ; // Check for conditional comments if ( array_key_exists ( 4 , $ link ) && $ link [ 4 ] ) { // Set starting string for conditional comments $ start_cond = '<!--[if ' . $ link [ 4 ] . ']>' ; // Set ending string for conditional comments $ end_cond = '<![endif]-->' ; } // Check for attributes if ( array_key_exists ( 3 , $ link ) && is_array ( $ link [ 3 ] ) ) { foreach ( $ link [ 3 ] as $ name => $ content ) { // Check if values are not empty if ( $ name && $ content ) { // Set strings for each attribute $ attr .= ' ' . $ name . '="' . $ content . '"' ; } } } // Check for type attribute if ( array_key_exists ( 2 , $ link ) && $ link [ 2 ] ) { // Set string for type attribute $ type = ' type="' . $ link [ 2 ] . '"' ; } // Return tag for each registered link $ html .= $ start_cond . '<link rel="' . $ link [ 0 ] . '" href="' . $ link [ 1 ] . '"' . $ type . $ attr . '>' . $ end_cond . "\n\t" ; } } // Return complete string return $ html ; }
Render all link tags.

@return string
Render all link tags .