当前位置: 首页>>代码示例>>PHP>>正文


PHP Pw::page2limit方法代码示例

本文整理汇总了PHP中Pw::page2limit方法的典型用法代码示例。如果您正苦于以下问题:PHP Pw::page2limit方法的具体用法?PHP Pw::page2limit怎么用?PHP Pw::page2limit使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Pw的用法示例。


在下文中一共展示了Pw::page2limit方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: run

 public function run()
 {
     list($page, $perpage, $username, $starttime, $endtime, $keyword) = $this->getInput(array('page', 'perpage', 'username', 'starttime', 'endtime', 'keyword'));
     $starttime && ($pwStartTime = Pw::str2time($starttime));
     $endtime && ($pwEndTime = Pw::str2time($endtime));
     $page = $page ? $page : 1;
     $perpage = $perpage ? $perpage : $this->perpage;
     list($start, $limit) = Pw::page2limit($page, $perpage);
     if ($username) {
         $userinfo = $this->_getUserDs()->getUserByName($username);
         $fromUid = $userinfo['uid'] ? $userinfo['uid'] : 0;
     }
     Wind::import('WINDID:service.message.srv.vo.WindidMessageSo');
     $vo = new WindidMessageSo();
     $endtime && $vo->setEndTime($endtime);
     $fromUid && $vo->setFromUid($fromUid);
     $keyword && $vo->setKeyword($keyword);
     $starttime && $vo->setStarttime($starttime);
     $messages = $this->_getMessageDs()->searchMessage($vo, $start, $limit);
     $count = $this->_getMessageDs()->countMessage($vo);
     foreach ($messages as $k => $v) {
         $uids[] = $v['from_uid'];
     }
     $users = $this->_getUserDs()->fetchUserByUid($uids);
     foreach ($messages as $k => $v) {
         $messages[$k]['username'] = $users[$v['from_uid']]['username'];
     }
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($perpage, 'perpage');
     $this->setOutput(array('keyword' => $keyword, 'username' => $username, 'starttime' => $starttime, 'endtime' => $endtime), 'args');
     $this->setOutput($messages, 'messages');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:33,代码来源:MessagesController.php

示例2: run

 public function run()
 {
     $page = intval($this->getInput('page'));
     $page < 1 && ($page = 1);
     $logSo = new PwLogSo();
     $logSo->setEndTime($this->getInput('end_time'))->setStartTime($this->getInput('start_time'))->setCreatedUsername($this->getInput('created_user'))->setTypeid($this->getInput('typeid'))->setIp($this->getInput('ip'));
     /* @var $logDs PwLogLogin */
     $logDs = Wekit::load('log.PwLogLogin');
     $count = $logDs->coutSearch($logSo);
     $list = array();
     if ($count > 0) {
         $page > $count && ($page = $count);
         $totalPage = ceil($count / $this->perpage);
         list($offset, $limit) = Pw::page2limit($page, $this->perpage);
         $list = $logDs->search($logSo, $limit, $offset);
     }
     $this->setOutput($this->perpage, 'perpage');
     $this->setOutput($list, 'list');
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($logSo->getSearchData(), 'searchData');
     $this->setOutput($this->isFounder($this->adminUser->getUsername()), 'canClear');
     $this->setOutput($this->_getLoginType(), 'types');
     $this->setTemplate('manage_login');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:25,代码来源:LoginlogController.php

示例3: run

 public function run()
 {
     /* @var $groupDs PwUserGroups */
     list($sName, $sUid, $sEmail, $page) = $this->getInput(array('username', 'uid', 'email', 'page'));
     Wind::import('WINDID:service.user.vo.WindidUserSo');
     $vo = new WindidUserSo();
     $sName && $vo->setUsername($sName);
     $sUid && $vo->setUid($sUid);
     $sEmail && $vo->setEmail($sEmail);
     $page = intval($page) == 0 ? 1 : abs(intval($page));
     /* @var $searchDs PwUserSearch */
     $searchDs = Windid::load('user.WindidUser');
     $count = $searchDs->countSearchUser($vo);
     $result = array();
     if (0 < $count) {
         $totalPage = ceil($count / $this->pageNumber);
         $page > $totalPage && ($page = $totalPage);
         list($start, $limit) = Pw::page2limit($page, $this->pageNumber);
         $result = $searchDs->searchUser($vo, $limit, $start);
     }
     $data = $vo->getData();
     $this->setOutput($data, 'args');
     $this->setOutput($page, 'page');
     $this->setOutput($this->pageNumber, 'perPage');
     $this->setOutput($count, 'count');
     $this->setOutput($result, 'list');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:27,代码来源:UserController.php

示例4: run

 public function run()
 {
     $this->_setNavType('cateweekreport');
     $allSchool = $this->_get4TSchoolDS()->getOpenedSchools();
     $allSchool = array_values($allSchool);
     $cateTypeClass = $this->setCateTypeCommonClass();
     $this->setOutput($allSchool, 'allSchool');
     $this->setOutput($cateTypeClass, 'cateTypeClass');
     $choosenSchoolId = -1;
     $typename = -1;
     $audited = -1;
     $released = -1;
     if ($this->getInput('type', 'post') === 'do') {
         list($choosenSchoolId, $typename, $audited, $released) = $this->getInput(array('choosenSchoolId', 'typename', 'audited', 'released'), 'post');
     }
     $page = $this->getInput('page');
     $searchCondition = array('choosenSchoolId' => $choosenSchoolId, 'typename' => $typename, 'audited' => $audited, 'released' => $released);
     $count = $this->_getCateWeekReportDs()->countCateWeek($searchCondition);
     if (0 < $count) {
         $totalPage = ceil($count / $this->pageNumber);
         $page > $totalPage && ($page = $totalPage);
         list($start, $limit) = Pw::page2limit($page, $this->pageNumber);
         if ($page <= 0) {
             $page = 1;
         }
     }
     $cateWeekReportList = $this->_getCateWeekReportDs()->getSearchCateWeekData($searchCondition, $start, $limit);
     $cateWeekReportList = array_values($cateWeekReportList);
     $this->setOutput($searchCondition, 'searchCondition');
     $this->setOutput($cateWeekReportList, 'cateWeekReportList');
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($this->pageNumber, 'perPage');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:34,代码来源:CateweekreportController.php

示例5: run

 public function run()
 {
     $this->_setNavType('shopstatusrecord');
     if ($this->getInput('type', 'post') === 'do') {
         list($shopId) = $this->getInput(array('shopId'), 'post');
     }
     $shopId = $this->getInput("shopId");
     $this->setOutput($shopId, 'shopId');
     $page = $this->getInput('page');
     $searchCondition = array('shopId' => $shopId);
     $count = $this->_getShopstatusrecordDs()->countAllShopStatusRecord($searchCondition);
     if (0 < $count) {
         $totalPage = ceil($count / $this->pageNumber);
         $page > $totalPage && ($page = $totalPage);
         list($start, $limit) = Pw::page2limit($page, $this->pageNumber);
         if ($page <= 0) {
             $page = 1;
         }
     }
     $shopStatusRecordList = $this->_getShopstatusrecordDs()->getAllShopStatusRecord($searchCondition, $start, $limit);
     $shopStatusRecordList = array_values($shopStatusRecordList);
     $shopId = $this->getInput('shopId');
     $args['shopId'] = $shopId;
     $this->setOutput($shopStatusRecordList, 'shopStatusRecordList');
     $this->setOutput($searchCondition, 'searchCondition');
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($this->pageNumber, 'perPage');
     $this->setOutput($args, 'args');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:30,代码来源:ShopstatusrecordController.php

示例6: run

 public function run()
 {
     $page = $this->getInput('page');
     $count = $this->_getPwAnnounceDs()->countAnnounce();
     if (0 < $count) {
         $totalPage = ceil($count / $this->pageNumber);
         $page > $totalPage && ($page = $totalPage);
         list($start, $limit) = Pw::page2limit($page, $this->pageNumber);
         if ($page <= 0) {
             $page = 1;
         }
     }
     $announceInfo = array();
     $announceInfos = $this->_getPwAnnounceDs()->getAnnounceOrderByVieworder($schoolid = '', $limit, $start);
     $announceInfos = $this->_getPwAnnounceService()->formatAnnouncesUsername($announceInfos);
     $openSchools = $this->_getSchoolDS()->getOpenedSchools();
     $this->setOutput($openSchools, 'openSchools');
     foreach ($announceInfos as $akey => &$eachInfo) {
         $found = false;
         foreach ($openSchools as $key => $eachSchool) {
             if ($eachInfo['schoolid'] == $eachSchool['schoolid']) {
                 $eachInfo['schoolName'] = $eachSchool['name'];
                 $found = true;
                 break;
             }
         }
         if ($found == false) {
             $eachInfo['schoolName'] = "所有学校";
         }
     }
     $this->setOutput($announceInfos, 'announceInfos');
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($this->pageNumber, 'perPage');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:35,代码来源:AnnounceController.php

示例7: manageAction

 public function manageAction()
 {
     $schoolId = $this->getCurrentSchoolId();
     $userid = $this->loginUser->uid;
     $this->getNoCommentSum($schoolId, $userid);
     $myMenus = $this->_getMyOrderDS()->getMyMenus($schoolId, $userid);
     $this->setOutput($myMenus, 'myMenus');
     $choosenStatus = $this->getInput("choosenStatus");
     $this->setOutput($choosenStatus, "choosenStatus");
     $page = $this->getInput('page');
     $count = $this->_getMessageBoardDS()->countMessages($schoolId, -1, $choosenStatus);
     if (0 < $count) {
         $totalPage = ceil($count / $this->pageNumber);
         $page > $totalPage && ($page = $totalPage);
         list($start, $limit) = Pw::page2limit($page, $this->pageNumber);
         if ($page <= 0) {
             $page = 1;
         }
     }
     $messageList = $this->_getMessageBoardDS()->getMessages($schoolId, -1, $choosenStatus, $limit, $start);
     $this->setOutput($messageList, 'messageList');
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($this->pageNumber, 'perPage');
     $args['choosenStatus'] = $choosenStatus;
     $this->setOutput($args, "args");
     //set selected menu
     $this->setOutput('留言管理', 'selectedMenu');
     $this->setOutput('管理网站用户的留言', 'subtitle');
     $this->setOutput($schoolId, 'schoolId');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:31,代码来源:MyfeedbackController.php

示例8: run

 public function run()
 {
     $page = (int) $this->getInput('page', 'get');
     $flag = $this->getInput('flag');
     $compid = (int) $this->getInput('compid');
     $compname = $this->getInput('compname');
     $perpage = 10;
     $args = array();
     $page = $page > 1 ? $page : 1;
     list($start, $perpage) = Pw::page2limit($page, $perpage);
     Wind::import('SRV:design.srv.vo.PwDesignComponentSo');
     $vo = new PwDesignComponentSo();
     if ($flag) {
         $vo->setModelFlag($flag);
         $args['flag'] = $flag;
     }
     if ($compid > 0) {
         $vo->setCompid($compid);
         $args['compid'] = $compid;
     }
     if ($compname) {
         $vo->setCompname($compname);
         $args['compname'] = $compname;
     }
     $list = $this->_getDesignComponentDs()->searchComponent($vo, $start, $perpage);
     $count = $this->_getDesignComponentDs()->countComponent($vo);
     $models = $this->_getDesignService()->getModelList();
     $this->setOutput($args, 'args');
     $this->setOutput($flag, 'flag');
     $this->setOutput($list, 'list');
     $this->setOutput($models, 'models');
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($perpage, 'perpage');
 }
开发者ID:YoursBoss,项目名称:nextwind,代码行数:35,代码来源:ComponentController.php

示例9: run

 public function run()
 {
     $page = $this->getInput('page');
     $this->page = $page < 1 ? 1 : intval($page);
     list($start, $limit) = Pw::page2limit($this->page, $this->perpage);
     $timestamp = PW::getTime();
     $startTime = $timestamp - 7 * 86400;
     $endTime = $timestamp;
     $total = $this->_getPollDs()->countPollByTime($startTime, $endTime);
     $pollInfo = array();
     if ($total) {
         Wind::import('SRV:poll.srv.dataSource.PwFetchPollByTime');
         $pollDisplay = new PwPollDisplay(new PwFetchPollByTime($startTime, $endTime, $limit, $start, array('voter_num' => 0, 'created_time' => 0)));
         $pollInfo = $this->_buildPoll($pollDisplay->gather());
     }
     $latestPollDisplay = new PwPollDisplay(new PwFetchPollByOrder(10, 0, array('created_time' => '0')));
     $latestPoll = $latestPollDisplay->gather();
     $this->setOutput($total, 'total');
     $this->setOutput($pollInfo, 'pollInfo');
     $this->setOutput($latestPoll, 'latestPoll');
     $this->setOutput($this->page, 'page');
     $this->setOutput($this->perpage, 'perpage');
     $this->setOutput(array('allowview' => $this->loginUser->getPermission('allow_view_vote'), 'allowvote' => $this->loginUser->getPermission('allow_participate_vote')), 'pollGroup');
     // seo设置
     Wind::import('SRV:seo.bo.PwSeoBo');
     $seoBo = PwSeoBo::getInstance();
     $lang = Wind::getComponent('i18n');
     if ($this->page > 1) {
         $seoBo->setCustomSeo($lang->getMessage('SEO:vote.hot.run.page.title', array($this->page)), $lang->getMessage('vote.hot.run.description'), '');
     } else {
         $seoBo->setCustomSeo($lang->getMessage('SEO:vote.hot.run.title'), '', $lang->getMessage('SEO:vote.hot.run.description'));
     }
     Wekit::setV('seo', $seoBo);
 }
开发者ID:chendong0444,项目名称:phpwind,代码行数:34,代码来源:HotController.php

示例10: run

 public function run()
 {
     list($type, $page) = $this->getInput(array('type', 'page'));
     $page = intval($page);
     $page < 1 && ($page = 1);
     $perpage = 20;
     list($start, $limit) = Pw::page2limit($page, $perpage);
     $noticeList = $this->_getNoticeDs()->getNotices($this->loginUser->uid, $type, $start, $limit);
     $noticeList = $this->_getNoticeService()->formatNoticeList($noticeList);
     $typeCounts = $this->_getNoticeService()->countNoticesByType($this->loginUser->uid);
     //类型
     $typeid = intval($type);
     //获取未读通知数
     $unreadCount = $this->_getNoticeDs()->getUnreadNoticeCount($this->loginUser->uid);
     $this->_readNoticeList($unreadCount, $noticeList);
     //count
     $count = intval($typeCounts[$typeid]['count']);
     $this->setOutput($page, 'page');
     $this->setOutput($perpage, 'perpage');
     $this->setOutput($count, 'count');
     $this->setOutput(ceil($count / $perpage), 'totalpage');
     $this->setOutput(array('type' => $typeid), 'args');
     $this->setOutput($typeid, 'typeid');
     $this->setOutput($typeCounts, 'typeCounts');
     $this->setOutput($noticeList, 'noticeList');
     // seo设置
     Wind::import('SRV:seo.bo.PwSeoBo');
     $seoBo = PwSeoBo::getInstance();
     $lang = Wind::getComponent('i18n');
     $seoBo->setCustomSeo($lang->getMessage('SEO:mess.notice.run.title'), '', '');
     Wekit::setV('seo', $seoBo);
 }
开发者ID:YoursBoss,项目名称:nextwind,代码行数:32,代码来源:NoticeController.php

示例11: run

 public function run()
 {
     $conditions = array('page', 'keyword', 'ifhot', 'categoryId', 'minAttention', 'maxAttention', 'minContent', 'maxContent');
     list($page, $keyword, $ifhot, $categoryId, $minAttention, $maxAttention, $minContent, $maxContent) = $this->getInput($conditions);
     $categories = $this->_getTagCateGoryDs()->getAllCategorys();
     $this->setOutput($categories, 'categories');
     //搜索话题
     $page = intval($page);
     $page < 1 && ($page = 1);
     strlen($ifhot) or $ifhot = -1;
     list($start, $limit) = Pw::page2limit($page, $this->perpage);
     list($count, $tags) = $this->_getTagService()->getTagByCondition($start, $limit, $keyword, $ifhot, $categoryId, $minAttention, $maxAttention, $minContent, $maxContent);
     $maxPage = ceil($count / $this->perpage);
     if ($page > $maxPage) {
         $page = $maxPage;
         list($start, $limit) = Pw::page2limit($page, $this->perpage);
         list($count, $tags) = $this->_getTagService()->getTagByCondition($start, $limit, $keyword, $ifhot, $categoryId, $minAttention, $maxAttention, $minContent, $maxContent);
     }
     $tags = $this->_buildTagData($tags, $categories);
     $args = array();
     foreach ($conditions as $v) {
         if ($v == 'page') {
             continue;
         }
         $this->setOutput(${$v}, $v);
         $args[$v] = ${$v};
     }
     $this->setOutput($tags, 'tags');
     //pagination
     $this->setOutput($page, 'page');
     $this->setOutput($count, 'count');
     $this->setOutput($args, 'args');
     $this->setOutput($this->perpage, 'perPage');
     //$this->setOutput(ceil($count/$this->perpage), 'totalpage');
 }
开发者ID:chendong0444,项目名称:phpwind,代码行数:35,代码来源:ManageController.php

示例12: allistAction

 public function allistAction()
 {
     $page = $this->getInput('page');
     $schoolId = $this->getCurrentSchoolId();
     $schoolName = $this->setAreaFilterWidgetData();
     $count = $this->_getCateWeekReportDs()->countCakeWeekBySchoolId($schoolId);
     if (0 < $count) {
         $totalPage = ceil($count / $this->pageNumber);
         $page > $totalPage && ($page = $totalPage);
         list($start, $limit) = Pw::page2limit($page, $this->pageNumber);
         if ($page <= 0) {
             $page = 1;
         }
     }
     $allCateWeekList = $this->_getCateWeekReportDs()->getCakeWeekBySchoolId($schoolId, $start, $limit);
     foreach ($allCateWeekList as $key => $value) {
         $date = substr($value['releasedate'], 0, 10);
         $allCateWeekList[$key]['date'] = $date;
         $allCateWeekList[$key]['imageurl'] = 'src/extensions/4tschool' . str_replace('\\', '/', $value['breviaryphoto']);
     }
     $this->setOutput($allCateWeekList, "allCateWeekList");
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($this->pageNumber, 'perPage');
     $this->setOutput($schoolId, 'schoolId');
     //SEO Information
     $SEOTitleKeyword = '美食文章 - ' . $schoolName . '美食外卖';
     $this->setOutput($SEOTitleKeyword, 'SEOTitle');
     $this->setOutput($SEOTitleKeyword, 'SEOKeyword');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:30,代码来源:CateweekdetailController.php

示例13: run

 public function run()
 {
     $page = (int) $this->getInput('page', 'get');
     $perpage = 10;
     $args = array();
     $page = $page > 1 ? $page : 1;
     list($start, $perpage) = Pw::page2limit($page, $perpage);
     $list = $this->_getPageDs()->getPageList(PwDesignPage::SYSTEM, $start, $perpage);
     $count = $this->_getPageDs()->countPage(PwDesignPage::SYSTEM);
     $sysPage = Wekit::load('design.srv.router.PwDesignRouter')->get();
     foreach ($list as &$v) {
         if (isset($sysPage[$v['page_router']])) {
             list($pagename, $unique) = $sysPage[$v['page_router']];
         }
         list($m, $c, $a, $id) = explode('|', $v['page_router']);
         if ($unique) {
             $v['url'] = WindUrlHelper::createUrl($m . '/' . $c . '/' . $a, array($unique => $v['page_unique']), '', 'pw');
         } else {
             $v['url'] = WindUrlHelper::createUrl($m . '/' . $c . '/' . $a, array(), '', 'pw');
         }
         $sep = strpos($v['url'], '?') === false ? '?' : '&';
         $v['designurl'] = $v['url'] . $sep . 'design=1';
     }
     $this->setOutput($list, 'list');
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($perpage, 'perpage');
     $this->setOutput(ceil($count / $perpage), 'totalpage');
     $this->setOutput('design/page/run', 'pageurl');
 }
开发者ID:chendong0444,项目名称:phpwind,代码行数:30,代码来源:PageController.php

示例14: memberAction

 /**
  * 查看投票参与人员
  *
  * @return void
  */
 public function memberAction()
 {
     if (!$this->loginUser->getPermission('allow_view_vote')) {
         $this->showError('VOTE:group.not.allow.view');
     }
     list($pollid, $optionid) = $this->getInput(array('pollid', 'optionid'), 'get');
     $poll = $this->_getPollService()->getPoll($pollid);
     if (!$poll) {
         $this->showError('VOTE:thread.not.exist');
     }
     //$isVoted = $this->_getPollVoterDs()->isVoted($this->loginUser->uid, $pollid);
     //$allowView = (!$poll['isafter_view'] || $isVoted);
     //if (!$allowView) $this->showError('VOTE:not.allow.view');
     $page = $this->getInput('page');
     $page > 1 && ($this->page = $page);
     list($start, $limit) = Pw::page2limit($this->page, $this->perpage);
     $total = $this->_getPollVoterDs()->countUserByOptionid($optionid);
     $vote = $total ? $this->_getPollVoterDs()->getUserByOptionid($optionid, $limit, $start) : array();
     $uids = $userName = array();
     foreach ($vote as $value) {
         $uids[] = $value['uid'];
     }
     $userList = $uids ? $this->_getUserDs()->fetchUserByUid($uids) : array();
     foreach ($userList as $value) {
         $userName[$value['uid']] = $value['username'];
     }
     $this->_getPollService()->resetOptionVotedNum($optionid);
     $this->setOutput(array('data' => $userName));
     $this->showMessage('success');
 }
开发者ID:fanqimeng,项目名称:4tweb,代码行数:35,代码来源:IndexController.php

示例15: run

 public function run()
 {
     $page = intval($this->getInput('page'));
     $page < 1 && ($page = 1);
     $logSo = new PwLogSo();
     $logSo->setEndTime($this->getInput('end_time'))->setStartTime($this->getInput('start_time'))->setCreatedUsername($this->getInput('created_user'))->setOperatedUsername($this->getInput('operated_user'))->setFid($this->getInput('fid'))->setIp($this->getInput('ip'))->setKeywords($this->getInput('keywords'))->setTypeid($this->getInput('typeid'));
     /* @var $logDs PwLog */
     $logDs = Wekit::load('log.PwLog');
     $count = $logDs->coutSearch($logSo);
     /* @var $logSrv PwLogService */
     $logSrv = Wekit::load('log.srv.PwLogService');
     $list = array();
     if ($count > 0) {
         $page > $count && ($page = $count);
         $totalPage = ceil($count / $this->perpage);
         list($offset, $limit) = Pw::page2limit($page, $this->perpage);
         $list = $logSrv->searchManageLogs($logSo, $limit, $offset);
     }
     $this->setOutput($logSrv->getOperatTypeid(), 'typeids');
     $this->setOutput($logSrv->getOperatTypeTitle(), 'typeTitles');
     $this->setOutput($this->perpage, 'perpage');
     $this->setOutput($list, 'list');
     $this->setOutput($count, 'count');
     $this->setOutput($page, 'page');
     $this->setOutput($logSo->getSearchData(), 'searchData');
     $this->_getForumList();
     $this->setOutput($this->isFounder($this->loginUser->username), 'canClear');
 }
开发者ID:chendong0444,项目名称:phpwind,代码行数:28,代码来源:ManageController.php


注:本文中的Pw::page2limit方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。