Link

Link

This class represents individual external or internal links Scrivito is able to identify and to process.

See also Creating and Using Links for usage examples.

Constructor summary

Instance method summary

  • Copies the Link and optionally changes some of the attributes of the new link.

  • For an internal link, its page anchor name.

  • Does the Link object point to an external location?

  • Does the Link object point to a CMS object?

  • The CMS object this link references if it's an internal link.

  • For an internal link, its query string.

  • All query parameters of the Link object.

  • The rel attribute value of the link.

  • Optional name of the window in which the link destination should be opened.

  • The title of the link.

  • For an external link, its URL. Must be blank for internal links.