PHP 클래스 Frontend\Core\Engine\Footer

상속: extends Frontend\Core\Engine\Base\Object
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
parse ( ) Parse the footer into the template

보호된 메소드들

메소드 설명
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.

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface

getFacebookHtml() 보호된 메소드

Builds the HTML needed for Facebook to be initialized
protected getFacebookHtml ( string $facebookAppId ) : string
$facebookAppId string The application id used to interact with FB
리턴 string HTML and JS needed to initialize FB JavaScript

getSiteLinksCode() 보호된 메소드

More information can be found on the offical Google documentation: https://developers.google.com/webmasters/richsnippets/sitelinkssearch
protected getSiteLinksCode ( string $searchUrl ) : string
$searchUrl string The url to the search page
리턴 string The script needed for google

parse() 공개 메소드

Parse the footer into the template
public parse ( )