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

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

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

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

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

@return string
Render the open graph tags .