

Public Member Functions | |
| __construct ($query, $columns, $href, $pageLength=15, $index=0, $name= '', $useSelecteds=true) | |
| SetColumns ($columns) | |
| ApplyFilter () | |
| GenerateData () | |
| CallRowMethod () | |
Public Attributes | |
| $query | |
| $database | |
| $sql | |
| $sqlcmd | |
| $db | |
Definition at line 69 of file mdatagrid.class.
| MDataGrid::__construct | ( | $ | query, | |
| $ | columns, | |||
| $ | href, | |||
| $ | pageLength = 15, |
|||
| $ | index = 0, |
|||
| $ | name = '', |
|||
| $ | useSelecteds = true | |||
| ) |
DataGrid2 constructor $query - a query object $columns - array of columns objects $href - base url of this datagrid $pageLength - max number of rows to show (0 to show all)
Definition at line 84 of file mdatagrid.class.
References MGrid::$columns, MGrid::$href, MGrid::$index, MGrid::$name, MGrid::$pageLength, and $query.
| MDataGrid::SetColumns | ( | $ | columns | ) |
| MDataGrid::ApplyFilter | ( | ) |
Definition at line 115 of file mdatagrid.class.
References MComponent::$page.
Referenced by GenerateData().
Here is the caller graph for this function:

| MDataGrid::GenerateData | ( | ) |
Definition at line 136 of file mdatagrid.class.
References ApplyFilter().
Here is the call graph for this function:

| MDataGrid::CallRowMethod | ( | ) |
Definition at line 168 of file mdatagrid.class.
| MDataGrid::$query |
Definition at line 71 of file mdatagrid.class.
Referenced by MLookupGrid::__construct(), and __construct().
| MDataGrid::$database |
Definition at line 72 of file mdatagrid.class.
| MDataGrid::$sql |
Definition at line 73 of file mdatagrid.class.
| MDataGrid::$sqlcmd |
Definition at line 74 of file mdatagrid.class.
| MDataGrid::$db |
Definition at line 75 of file mdatagrid.class.