class Page extends Message

Represents a documentation page. A page can contain subpages to represent nested documentation set structure.

Protobuf type Google\Api\Page

Methods

__construct()

No description

string
getName()

The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with .) can be used as reference to the page in your documentation. For example:

pages:
- name: Tutorial
  content: (== include tutorial.md ==)
  subpages:
  - name: Java
    content: (== include tutorial_java.md ==)

You can reference Java page using Markdown reference link syntax: [Java][Tutorial.Java].

setName(string $var)

The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with .) can be used as reference to the page in your documentation. For example:

pages:
- name: Tutorial
  content: (== include tutorial.md ==)
  subpages:
  - name: Java
    content: (== include tutorial_java.md ==)

You can reference Java page using Markdown reference link syntax: [Java][Tutorial.Java].

string
getContent()

The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file.

setContent(string $var)

The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file.

RepeatedField
getSubpages()

Subpages of this page. The order of subpages specified here will be honored in the generated docset.

setSubpages(array|RepeatedField $var)

Subpages of this page. The order of subpages specified here will be honored in the generated docset.

Details

at line 53
__construct()

at line 77
string getName()

The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with .) can be used as reference to the page in your documentation. For example:

pages:
- name: Tutorial
  content: (== include tutorial.md ==)
  subpages:
  - name: Java
    content: (== include tutorial_java.md ==)

You can reference Java page using Markdown reference link syntax: [Java][Tutorial.Java].

Generated from protobuf field string name = 1;

Return Value

string

at line 101
setName(string $var)

The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with .) can be used as reference to the page in your documentation. For example:

pages:
- name: Tutorial
  content: (== include tutorial.md ==)
  subpages:
  - name: Java
    content: (== include tutorial_java.md ==)

You can reference Java page using Markdown reference link syntax: [Java][Tutorial.Java].

Generated from protobuf field string name = 1;

Parameters

string $var

at line 114
string getContent()

The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file.

Generated from protobuf field string content = 2;

Return Value

string

at line 126
setContent(string $var)

The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file.

Generated from protobuf field string content = 2;

Parameters

string $var

at line 139
RepeatedField getSubpages()

Subpages of this page. The order of subpages specified here will be honored in the generated docset.

Generated from protobuf field repeated .google.api.Page subpages = 3;

Return Value

RepeatedField

at line 151
setSubpages(array|RepeatedField $var)

Subpages of this page. The order of subpages specified here will be honored in the generated docset.

Generated from protobuf field repeated .google.api.Page subpages = 3;

Parameters

array|RepeatedField $var