本文整理汇总了PHP中UsersLastImport::create_list_query方法的典型用法代码示例。如果您正苦于以下问题:PHP UsersLastImport::create_list_query方法的具体用法?PHP UsersLastImport::create_list_query怎么用?PHP UsersLastImport::create_list_query使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UsersLastImport
的用法示例。
在下文中一共展示了UsersLastImport::create_list_query方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
echo "<br><br>";
$currentModule = "Import";
global $limit;
global $list_max_entries_per_page;
$implict_account = false;
$import_modules_array = array("Leads" => "Leads", "Accounts" => "Accounts", "Contacts" => "Contacts", "Potentials" => "Potentials", "Products" => "Products", "HelpDesk" => "ImportTicket", "Vendors" => "ImportVendors");
// vtlib customization: Hook provide to include custom modules
$module = $_REQUEST['modulename'];
checkFileAccess("modules/{$module}/{$module}.php");
require_once "modules/{$module}/{$module}.php";
$import_modules_array[$module] = $module;
// END
foreach ($import_modules_array as $module_name => $object_name) {
$seedUsersLastImport = new UsersLastImport();
$seedUsersLastImport->bean_type = $module_name;
$list_query = $seedUsersLastImport->create_list_query($o, $w);
$current_module_strings = return_module_language($current_language, $module_name);
$object = new $object_name();
$seedUsersLastImport->list_fields = $object->list_fields;
$list_result = $adb->query($list_query);
//Retreiving the no of rows
$noofrows = $adb->num_rows($list_result);
if ($noofrows >= 1) {
if ($module_name != 'Accounts') {
$implict_account = true;
}
if ($module_name == 'Accounts' && $implict_account == true) {
$display_header_msg = "Newly created Accounts";
} else {
$display_header_msg = "" . $mod_strings['LBL_LAST_IMPORTED'] . " " . $app_strings[$module_name] . "";
}