PHP Interface Calotype\SEO\Contracts\OpenGraphAware

显示文件 Open project: calotype/seo Interface Usage Examples

Public Methods

Method Description
getOpenGraphData ( ) : array Get the data for the Open Graph fields.

Method Details

getOpenGraphData() public method

For more information see: http://ogp.me/ $data = array( 'title' => 'The Rock (1996)', 'type' => 'video.movie', 'image' => 'http://ia.media-imdb.com/images/M/MV5BMTM3MTczOTM1OF5BMl5BanBnXkFtZTYwMjc1NDA5._V1_SY317_CR4,0,214,317_.jpg', 'url' => 'http://www.imdb.com/title/tt0117500/', 'site_name' => 'IMDb' );
public getOpenGraphData ( ) : array
return array