set_pagetitle function

The set_pagetitle function sets the browser page title for a page in a plug-in for the HCL OpenAdmin Tool (OAT) for Informix®. This function is part of the output class, which handles displaying the HTML pages for OAT and for OAT plug-ins.

Syntax

set_pagetitle($title="")
Variable Purpose
title The name of the page for the web browser.

Example

This example sets the browser page title to Health Advisor.

$this->idsadmin->html->set_pagetitle("Health Advisor");

This example uses the language function so that the message can be localized.

$this->idsadmin->html->set_pagetitle($this->idsadmin->lang("prod_name"));

Here is the item in the language file for the module from the language file in English.

<prod_name><![CDATA[Health Advisor]]></prod_name>

Copyright© 2018 HCL Technologies Limited