public function generate()
	{
		$this->loadWebmasterTags();

		$title       = $this->getTitle();
		$description = $this->getDescription();
		$keywords    = $this->getKeywords();
		$metatags    = $this->metatags;

		$html = array();

		$html[] = "<title>$title</title>";
		$html[] = sprintf('<meta name="description" itemprop="description" content="%s" />%s', $description, PHP_EOL);

		if (!empty($keywords)) {
			$html[] = sprintf('<meta name="keywords" content="%s" />%s', $keywords, PHP_EOL);
		}

		foreach ($metatags as $key => $value):
			$name    = $value[0];
			$content = $value[1];
			$html[] = sprintf('<meta %s="%s" content="%s" />%s', $name, $key, $content, PHP_EOL);
		endforeach;

		return implode(PHP_EOL, $html);
	}
public function generate()
	{
		$this->loadWebmasterTags();

		$title       = $this->getTitle();
		$description = $this->getDescription();
		$keywords    = $this->getKeywords();
		$metatags    = $this->metatags;

		$html = array();

		$html[] = "<title>$title</title>";
		$html[] = sprintf('<meta name="description" itemprop="description" content="%s" />%s', $description, PHP_EOL);

		if (!empty($keywords)) {
			$html[] = sprintf('<meta name="keywords" content="%s" />%s', $keywords, PHP_EOL);
		}

		foreach ($metatags as $key => $value):
			$name    = $value[0];
			$content = $value[1];
			$html[] = sprintf('<meta %s="%s" content="%s" />%s', $name, $key, $content, PHP_EOL);
		endforeach;

		return implode(PHP_EOL, $html);
	}
public function generate ( ) { $ this -> loadWebmasterTags ( ) ; $ title = $ this -> getTitle ( ) ; $ description = $ this -> getDescription ( ) ; $ keywords = $ this -> getKeywords ( ) ; $ metatags = $ this -> metatags ; $ html = array ( ) ; $ html [ ] = "<title>$title</title>" ; $ html [ ] = sprintf ( '<meta name="description" itemprop="description" content="%s" />%s' , $ description , PHP_EOL ) ; if ( ! empty ( $ keywords ) ) { $ html [ ] = sprintf ( '<meta name="keywords" content="%s" />%s' , $ keywords , PHP_EOL ) ; } foreach ( $ metatags as $ key => $ value ) : $ name = $ value [ 0 ] ; $ content = $ value [ 1 ] ; $ html [ ] = sprintf ( '<meta %s="%s" content="%s" />%s' , $ name , $ key , $ content , PHP_EOL ) ; endforeach ; return implode ( PHP_EOL , $ html ) ; }
Render the meta tags.

@return string
Render the meta tags .