PageSeriesEntry

Package: Libraries.Web.Series · Inherits from: Libraries.Language.Object

PageSeriesEntry is one page in a PageSeries: its title and location, and the page itself when the website builds it. A page the website doesn't build (one still made some other way) has a title and a location but no page. People making pages don't use this directly.

Actions

GetDescription()

Returns the page's summary: from the page itself when the website builds it (its GetSummary), or as given otherwise. It may be empty.

Returns

text: The summary.

GetLocation()

Returns the page's summary: from the page itself when the website builds it (its GetSummary), or as given otherwise. It may be empty.

Returns

text: The summary.

GetPage()

Returns the page, or undefined if the website doesn't build it.

Returns

Libraries.Web.Page.WebPage: The page, or undefined.

GetTitle()

Returns the page's title: from the page itself when the website builds it (so it is right even if the title is set later), or as given otherwise.

Returns

text: The title.

SetDescription(text value)

Sets the summary of a page the website doesn't build. A page it builds gives its own.

Parameters

  • value text: One or two sentences on what the page teaches.

Setup(text title, text location, Libraries.Web.Page.WebPage page)

Sets the entry's title, location and page.

Parameters

  • title text: The page's title, as links show it.
  • location text: The page's location on the site.
  • page Libraries.Web.Page.WebPage: The page, or undefined if the site doesn't build it.

Inherited Actions

3 actions from Libraries.Language.Object