public function generate()
	{
		$html = array();

		foreach ($this->properties as $property => $value):
			if (is_array($value)):
				foreach ($value as $_value) {
					$html[] = strtr(
						static::OPENGRAPH_TAG,
						array(
							'[property]' => static::OPENGRAPH_PREFIX . $property,
							'[value]'    => $_value
						)
					);
				}
			else:
				$html[] = strtr(
					static::OPENGRAPH_TAG,
					array(
						'[property]' => static::OPENGRAPH_PREFIX . $property,
						'[value]'    => $value
					)
				);
			endif;
		endforeach;

		return implode(PHP_EOL, $html);
	}
public function generate()
	{
		$html = array();

		foreach ($this->properties as $property => $value):
			if (is_array($value)):
				foreach ($value as $_value) {
					$html[] = strtr(
						static::OPENGRAPH_TAG,
						array(
							'[property]' => static::OPENGRAPH_PREFIX . $property,
							'[value]'    => $_value
						)
					);
				}
			else:
				$html[] = strtr(
					static::OPENGRAPH_TAG,
					array(
						'[property]' => static::OPENGRAPH_PREFIX . $property,
						'[value]'    => $value
					)
				);
			endif;
		endforeach;

		return implode(PHP_EOL, $html);
	}
public function generate ( ) { $ html = array ( ) ; foreach ( $ this -> properties as $ property => $ value ) : if ( is_array ( $ value ) ) : foreach ( $ value as $ _value ) { $ html [ ] = strtr ( static :: OPENGRAPH_TAG , array ( '[property]' => static :: OPENGRAPH_PREFIX . $ property , '[value]' => $ _value ) ) ; } else : $ html [ ] = strtr ( static :: OPENGRAPH_TAG , array ( '[property]' => static :: OPENGRAPH_PREFIX . $ property , '[value]' => $ value ) ) ; endif ; endforeach ; return implode ( PHP_EOL , $ html ) ; }
Render the open graph tags.

@return string
Render the open graph tags .