Miscellaneous

PEAR Manual


Structures_DataGrid::setRequestPrefix

Structures_DataGrid::setRequestPrefix() -- Set the global GET/POST variables prefix

Synopsis

require_once 'Structures/DataGrid.php';

void Structures_DataGrid::setRequestPrefix ( string $prefix )

Description

If you need to change the request variables, you can define a prefix. This is extra useful when using multiple datagrids.

This methods need to be called before bind().

Parameter

string $prefix

The prefix to use on request variables;

Throws

throws no exceptions thrown

Note

This function can not be called statically.




Miscellaneous

PEAR Manual