glFusion Wiki

Site Tools


glfusion:development:api:output_class:addlink

outputHandler::addLink

(glFusion SVN)

addLink – Add a raw link to page header

Description

void addLink($rel, $href, $type, $priority, $attrs)

Adds a href link to the page header.

Parameters

rel

  Link relationship setting

href

  The link href.

type

  Type attribute (optional)

priority

The load priority of the CSS data.  Options are:

  * HEADER_PRIO_VERYHIGH
  * HEADER_PRIO_HIGH
  * HEADER_PRIO_NORMAL
  * HEADER_PRIO_LOW
  * HEADER_PRIO_VERYLOW

Items with HEADER_PRIO_VERYHIGH are sent to the browser
before those with HEADER_PRIO_HIGH…

The default value is HEADER_PRIO_NORMAL.

attrs

Attributes array.

Return Value

No value is returned.

Example

Notes

See Also

glfusion/development/api/output_class/addlink.txt · Last modified: 2017/04/12 21:15 (external edit)

Page Tools