本文整理汇总了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";
}