本文整理匯總了PHP中UserService::getUserByPage方法的典型用法代碼示例。如果您正苦於以下問題:PHP UserService::getUserByPage方法的具體用法?PHP UserService::getUserByPage怎麽用?PHP UserService::getUserByPage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類UserService
的用法示例。
在下文中一共展示了UserService::getUserByPage方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: indexAction
public function indexAction()
{
return;
Star_Http_Response::setBrownerCache(600);
$user_service = new UserService();
$user_service->getUserByPage(1, 10);
/*
$this->openCache('', 0);
if ($this->isCache())
{
return $this->showCache();
}
*/
//$this->view->assign('title', 'Hello world!');
//$this->view->setJsConfig(array(
// 'files' => array('jquery')
//));
echo date('Y-m-d H:i:s');
//$str = "fjakldjflakg'ja'gjqpoigjq;k<>faf<a href=www.baidu.com>www.baidu.com</a>";
//echo Star_Filter::escape($str);
//$this->view->assign(array('title' => 'Hello world', 'data' => 'fadjfakl'));
//echo date('Y-m-d H:i:s', Star_Date::getLastWeek());
//echo "Hello world";
//$this->view->setNoRender();
//$this->render('hello');
}
示例2: indexAction
public function indexAction()
{
//$user_service = new UserService();
$user_service = new UserService();
var_dump($user_service->getUserByPage(1, 1));
$this->view->assign('title', 'Hello world!');
$this->view->setJsConfig(array('files' => array('jquery')));
//$str = "fjakldjflakg'ja'gjqpoigjq;k<>faf<a href=www.baidu.com>www.baidu.com</a>";
//echo Star_Filter::escape($str);
//echo date('Y-m-d H:i:s', Star_Date::getLastWeek());
echo "Hello world";
}