Cpanel::MysqlFE::listhosts

This article documents the usage of the Cpanel::MysqlFE::listhosts function in relation to the cPanel interface. This tag can be used inside cPanel pages.


SYNOPSIS

Cpanel::MysqlFE::listhosts


DESCRIPTION

This function outputs the names of remote MySQL access hosts.


VARIABLES

INPUT

NONE

OUTPUT

host (string)
Name of the access host. Format: domain.com, sub.domdin.com, or %.domain.com


EXAMPLES

<?cp MysqlFE::listhosts(% ,host) || 'No MySQL access hosts are configured' ?>

This example will output a list of remote MySQL access hosts, or the text ``No MySQL access hosts are configured'', if no access hosts are configured.


COPYRIGHT

Copyright 2007 cPanel Inc.