Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
parse ( ) | Parse the footer into the template |
Method | Description | |
---|---|---|
getFacebookHtml ( string $facebookAppId ) : string | Builds the HTML needed for Facebook to be initialized | |
getSiteLinksCode ( string $searchUrl ) : string | Returns the code needed to get a site links search box in Google. |
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |
protected getFacebookHtml ( string $facebookAppId ) : string | ||
$facebookAppId | string | The application id used to interact with FB |
return | string | HTML and JS needed to initialize FB JavaScript |
protected getSiteLinksCode ( string $searchUrl ) : string | ||
$searchUrl | string | The url to the search page |
return | string | The script needed for google |