/** * Get head prefixes * * @return array */ public static function defineHeadPrefixes() { $list = parent::defineHeadPrefixes(); $list['og'] = 'http://ogp.me/ns#'; $list['fb'] = 'http://ogp.me/ns/fb#'; if (\XLite\Core\Config::getInstance()->CDev->GoSocial->fb_app_namespace) { $ns = \XLite\Core\Config::getInstance()->CDev->GoSocial->fb_app_namespace; $list[$ns] = 'http://ogp.me/ns/' . $ns . '#'; } return $list; }
/** * Get head prefixes * * @return array */ public function getHeadPrefixes() { return \XLite\View\Header::defineHeadPrefixes(); }