Documentation

Tag extends Message
in package

Generated from protobuf message <code>tagger_serve.tagger.Tag</code>

Table of Contents

Properties

$code  : mixed
Uppercase code of the tag.
$content  : mixed
HTML content of the tag to insert on the page.

Methods

__construct()  : mixed
Constructor.
getCode()  : string
Uppercase code of the tag.
getContent()  : string
HTML content of the tag to insert on the page.
setCode()  : $this
Uppercase code of the tag.
setContent()  : $this
HTML content of the tag to insert on the page.

Properties

$code

Uppercase code of the tag.

protected mixed $code = ''

Example: "HEADER"

Generated from protobuf field string code = 1 [json_name = "code"];

$content

HTML content of the tag to insert on the page.

protected mixed $content = ''

Generated from protobuf field string content = 2 [json_name = "content"];

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type string $code
      Uppercase code of the tag.
      Example: "HEADER"
@type string $content
      HTML content of the tag to insert on the page.

}

getCode()

Uppercase code of the tag.

public getCode() : string

Example: "HEADER"

Generated from protobuf field string code = 1 [json_name = "code"];

Return values
string

getContent()

HTML content of the tag to insert on the page.

public getContent() : string

Generated from protobuf field string content = 2 [json_name = "content"];

Return values
string

setCode()

Uppercase code of the tag.

public setCode(string $var) : $this

Example: "HEADER"

Generated from protobuf field string code = 1 [json_name = "code"];

Parameters
$var : string
Return values
$this

setContent()

HTML content of the tag to insert on the page.

public setContent(string $var) : $this

Generated from protobuf field string content = 2 [json_name = "content"];

Parameters
$var : string
Return values
$this

        
On this page

Search results