Child pages
  • Guide to the LiveAPI System - The footer() Method

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Description

Excerpt

The footer() method calls the cPanel interface's footer.

 Use this method to add the necessary footer buttons at the bottom of the interface.

Note
titleNote:

This method is available in cPanel & WHM version 11.46 and later, and is only compatible with cPanel's Paper Lantern theme.

Panel
bgColor#F2F2F2
borderStylenone

Example  


Panel
bgColor#FFFFFF
borderStylenone

LiveAPI PHP Class

Code Block
languageperl
linenumberstrue
// Inject the title page into the footer element.
$cpanel->footer(title);

LiveAPI Perl Module

Code Block
languageperl
linenumberstrue
# Inject the title page into the footer element.
$cpliveapi->footer(title);

Parameters

ParameterTypeDescriptionPossible valuesExample
titlestringThe title of the page to inject into the cPanel interface's <body-content> element.A valid HTML page's title value.title

 

Returns

This method returns a string value that contains the contents of the interface page before the <body-content> element.