PHP Class OpenGraph\Meta

ファイルを表示 Open project: benjamminf/craft-embedded-assets

Protected Properties

Property Type Description
$_content Mixed
$_property String

Public Methods

Method Description
__construct ( String $property, String $content ) : Meta
getContent ( ) : String Get content
getProperty ( ) : String Get property name
render ( ) : String Render meta tag
setContent ( String $content ) : Meta Set content
setProperty ( String $property ) : Meta Set property

Method Details

__construct() public method

public __construct ( String $property, String $content ) : Meta
$property String
$content String
return Meta

getContent() public method

Get content
public getContent ( ) : String
return String

getProperty() public method

Get property name
public getProperty ( ) : String
return String

render() public method

Render meta tag
public render ( ) : String
return String

setContent() public method

Set content
public setContent ( String $content ) : Meta
$content String
return Meta

setProperty() public method

Set property
public setProperty ( String $property ) : Meta
$property String
return Meta

Property Details

$_content protected_oe property

protected Mixed $_content
return Mixed

$_property protected_oe property

protected String $_property
return String