Hi all,
i want to change the query of listview of my custom module...
i want to set some extra fields in where condition..
i just create the custom/module/<my module>/views/view.list.php which have this code:
this code show me all records and my where condition is not working..PHP Code:require_once('include/MVC/View/views/view.list.php');
class prep_ProductReportViewList extends ViewList {
function prep_ProductReportViewList() {
$args = func_get_args();
call_user_func_array(array('parent', "ViewList"), $args);
}
function listViewPrepare() {
$args = func_get_args();
$_REQUEST['where'] =' where ... // my extra condition code';
}
call_user_func_array(array('parent', __FUNCTION__), $args);
}
}
so please tell me how to write where condition in this code..
thanks in advanced


LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks