class FooterHolder extends RedirectorPage (View source)

FooterHolder is intended as an invisible container for footer links and pages.

All child pages will be shown within the footer area of the site. Use RedirectorPage if you just need a link.

Properties

string $RedirectionType

Either 'Internal','External' or 'File'

from  RedirectorPage
string $ExternalURL

URL to redirect to if $RedirectionType is 'External'

from  RedirectorPage
int $LinkToID from  RedirectorPage

Methods

public
ContentSource()

Returns this page if the redirect is external, otherwise returns the target page or file.

public
string
Link(string $action = null)

Return the the link that should be used for this redirector page, in navigation, etc.

public
string
regularLink(string $action = null)

Return the normal link directly to this page. Once you visit this link, a 30x redirection will take you to your final destination.

public
string
redirectionLink()

Return the link to the first child page.

public
syncLinkTracking()

No description

protected
onBeforeWrite()

No description

public
getCMSFields()

No description

public
subPagesToCache()

No description

LinkTo()

Page to link to if $RedirectionType is 'Internal'

LinkToFile()

File to link to if $RedirectionType is 'File'

Details

SiteTree|File ContentSource()

Returns this page if the redirect is external, otherwise returns the target page or file.

Return Value

SiteTree|File

Return the the link that should be used for this redirector page, in navigation, etc.

If the redirectorpage has been appropriately configured, then it will return the redirection destination, to prevent unnecessary 30x redirections. However, if it's misconfigured, then it will return a link to itself, which will then display an error message.

Parameters

string $action

Return Value

string

Return the normal link directly to this page. Once you visit this link, a 30x redirection will take you to your final destination.

Parameters

string $action

Return Value

string

Return the link to the first child page.

Return Value

string

syncLinkTracking()

No description

protected onBeforeWrite()

No description

getCMSFields()

No description

subPagesToCache()

No description

SiteTree LinkTo()

Page to link to if $RedirectionType is 'Internal'

Return Value

SiteTree

File LinkToFile()

File to link to if $RedirectionType is 'File'

Return Value

File