SubsitesVirtualPage
class SubsitesVirtualPage extends VirtualPage (View source)
Properties
public static | $virtualFields | from VirtualPage |
Methods
For VirtualPage, add a canonical link tag linking to the original page See TRAC #6828 & http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394
We can only publish the page if there is a published source page
Return true if we can delete this page from the live site, which is different from can we publish it.
Returns true if is page is publishable by anyone at all Return false if the source page isn't published yet.
Ensure we have an up-to-date version of everything.
No description
Allow attributes on the master page to pass through to the virtual page
Allow attributes on the master page to pass through to the virtual page
Pass unrecognized method calls on to the original data object
Overwrite to also check for method on the original data object
Return the "casting helper" (a piece of PHP code that when evaluated creates a casted value object) for a field on this object.
Details
getVirtualFields()
Generates the array of fields required for the page type.
SiteTree
CopyContentFrom()
No description
setCopyContentFromID($val)
No description
ContentSource()
No description
string
MetaTags(bool $includeTitle = true)
For VirtualPage, add a canonical link tag linking to the original page See TRAC #6828 & http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394