本文整理匯總了PHP中UserList::Main方法的典型用法代碼示例。如果您正苦於以下問題:PHP UserList::Main方法的具體用法?PHP UserList::Main怎麽用?PHP UserList::Main使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類UserList
的用法示例。
在下文中一共展示了UserList::Main方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: date
$userTypeDescriptions = str_replace(",", ",<br>", $userTypeDescriptions);
$this->tpl->set_var("userTypeDescriptions", $userTypeDescriptions);
$this->tpl->set_var("username", $value->getUsername());
$this->tpl->set_var("fullName", $value->getFullName());
$this->tpl->set_var("personID", $value->getPersonID());
$this->tpl->set_var("dateCreated", date("m-d-Y", $value->getDateCreated()));
$this->tpl->set_var("dateModified", date("m-d-Y", $value->getDateModified()));
$this->tpl->set_var("status", $value->getStatus());
$this->tpl->set_var("statusCheck", $this->getStatusCheck($value->getStatus()));
$this->tpl->parse("UserListBlock", "UserList", true);
}
}
}
$this->setForm();
$this->tpl->parse("templatePage", "rptsTemplate");
$this->tpl->finish("templatePage");
$this->tpl->p("templatePage");
}
}
#####################################
# Define Procedures and Functions
#####################################
##########################################################
# Begin Program Script
##########################################################
//*
page_open(array("sess" => "rpts_Session", "auth" => "rpts_Challenge_Auth", "perm" => "rpts_Perm"));
//*/
$userList = new UserList($HTTP_POST_VARS, $sess, $sortBy, $sortOrder);
$userList->Main();
page_close();