add_to_output function

The add_to_output function appends HTML to 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

add_to_output($html="")
Variable Purpose
html The html to add to the page.

Example

This example sets the HTML tags to display a button labeled Run Health Advisor. Then the add_to_output function appends the tags to the HTML that is used to render the web page.

$html = "<input type='submit' class='button' name='runReports' value='Run Health Advisor'/>";
$this->idsadmin->html->add_to_output($html);

Copyright© 2018 HCL Technologies Limited