Cpanel::UI::listform

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


SYNOPSIS

Cpanel::UI::listform


DESCRIPTION

Returns a list of form elements submitted to the page.


VARIABLES

INPUT

strip (string)
Any text in strip will be stripped from the match.

match (string)
Only outputs form elements that math whatever match is set to.

OUTPUT

value (string)
Value of form element.

name (string)
Name of the form element.


EXAMPLES

<?cp UI::listform(%,name) match=dir,strip=r ?>

The following will output the names of all form elements that match dir while stripping r from them.


COPYRIGHT

Copyright 2007 cPanel Inc.