pm_link_button

Returns the HTML formatted code used to represent a link button HTML element on the HTML page.

Syntax

pm_link_button ($name, $conhelp, $href, $enabled, $tabindex, $new_window, $lock)

Parameters

name

      A string value with the link button name.

conhelp

      A string value with the context help index for this button. By default, this parameter holds an empty space.

href

      A string value with a reference to the specified URL. By default, this parameter holds '#', which means that a mouseclick on this link button will open the same page on which this link is clicked.

enabled

      A boolean value with the button status. Is set to true if the button is enabled, false otherwise. The default value is true.

tabindex

      A boolean value that is true if the button should have a tab index on the form, false otherwise. The default value is false.

new_window

      A boolean value that is true if a mouseclick on this button should open URL in a new window of a browser, false otherwise. The default value is false.

lock

      A boolean value that is true if the button is locked, false otherwise. The default value is true.

Returns

A string value that holds the HTML formatted code of the link button's representation on the HTML page.

Remarks

If a button name consists of more than one word, the relevant name parameter should look as a set of words glued with the '_' (underscore) character.

A valid conhelp parameter should go without the 'b_' prefix.

Include: pm.php.