PHP Class OpenGraph\Writer

Inheritance: extends Opengraph
Show file Open project: benjamminf/craft-embedded-assets Class Usage Examples

Protected Properties

Property Type Description
$storage ArrayObject

Public Methods

Method Description
append ( String $property, String $content ) : Opengraph Append meta
prepend ( String $property, String $content ) : Opengraph Prepend meta
render ( ) : String Render all meta tags

Method Details

append() public method

Append meta
public append ( String $property, String $content ) : Opengraph
$property String
$content String
return Opengraph

prepend() public method

Prepend meta
public prepend ( String $property, String $content ) : Opengraph
$property String
$content String
return Opengraph

render() public method

Render all meta tags
public render ( ) : String
return String

Property Details

$storage protected static property

protected static ArrayObject $storage
return ArrayObject