Helping ordinary people create extraordinary websites!


Structures_DataGrid::setRequestPrefix()

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

Description

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

This method needs 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.