src/classes/CCAsset.php
protected static function macro_og( $tags, $content = null ) 
	{
		if ( !is_array( $tags ) )
		{
			$tags = array( $tags => $content );
		}
		
		$buffer = "";
		
		foreach( $tags as $key => $content )
		{
			$buffer .= '<meta property="og:'.$key.'" content="'.$content.'" />';
		}
		
		return $buffer;
	}
protected static function macro_og( $tags, $content = null ) 
	{
		if ( !is_array( $tags ) )
		{
			$tags = array( $tags => $content );
		}
		
		$buffer = "";
		
		foreach( $tags as $key => $content )
		{
			$buffer .= '<meta property="og:'.$key.'" content="'.$content.'" />';
		}
		
		return $buffer;
	}
protected static function macro_og ( $ tags , $ content = null ) { if ( ! is_array ( $ tags ) ) { $ tags = array ( $ tags => $ content ) ; } $ buffer = "" ; foreach ( $ tags as $ key => $ content ) { $ buffer .= '<meta property="og:' . $ key . '" content="' . $ content . '" />' ; } return $ buffer ; }
OG Macro - Generates open grapth tags

// <meta property="og:type" content="video" />
CCAsset::og( 'type', 'video' );

// <meta property="og:type" content="video" />
// <meta property="og:res" content="1080p" />
CCAsset::og( array( 'type' => 'video', 'res' => '1080p' ));

@param array|string 		$tags
@param string 			$content
@return string
OG Macro - Generates open grapth tags