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


PHP Phpfox::getUserBy方法代码示例

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


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

示例1: process

 /**
  * Controller
  */
 public function process()
 {
     $this->template()->assign(array('iStatus' => Phpfox::getUserBy('status_id')));
     if (Phpfox::isUser()) {
         $this->url()->send($this->url()->makeUrl(''));
     }
 }
开发者ID:nima7r,项目名称:phpfox-dist,代码行数:10,代码来源:pending.class.php

示例2: process

 /**
  * Controller
  */
 public function process()
 {
     Phpfox::isUser(true);
     // http://www.phpfox.com/tracker/view/15093/
     $bIsThickBox = $this->getParam('bIsThickBox');
     $this->template()->assign(array('bIsThickBox' => $bIsThickBox));
     if ($this->request()->getInt('purchase_id')) {
         if (!($aPackage = Phpfox::getService('subscribe.purchase')->getInvoice($this->request()->getInt('purchase_id'), true))) {
             return Phpfox_Error::set(Phpfox::getPhrase('subscribe.unable_to_find_the_purchase_you_are_looking_for'));
         }
         $iPurchaseId = $aPackage['purchase_id'];
     } else {
         if (!($aPackage = Phpfox::getService('subscribe')->getPackage($this->request()->getInt('id')))) {
             return Phpfox_Error::set(Phpfox::getPhrase('subscribe.unable_to_find_the_package_you_are_looking_for'));
         }
         if (Phpfox::getUserBy('user_group_id') == $aPackage['user_group_id']) {
             return Phpfox_Error::set(Phpfox::getPhrase('subscribe.attempting_to_upgrade_to_the_same_user_group_you_are_already_in'));
         }
         $aPackage['default_currency_id'] = isset($aPackage['default_currency_id']) ? $aPackage['default_currency_id'] : $aPackage['price'][0]['alternative_currency_id'];
         $aPackage['default_cost'] = isset($aPackage['default_cost']) ? $aPackage['default_cost'] : $aPackage['price'][0]['alternative_cost'];
         $iPurchaseId = Phpfox::getService('subscribe.purchase.process')->add(array('package_id' => $aPackage['package_id'], 'currency_id' => $aPackage['default_currency_id'], 'price' => $aPackage['default_cost']));
         /* Make sure we mark it as free only if the default cost is free and its not a recurring charge */
         if ($aPackage['default_cost'] == '0.00' && $aPackage['recurring_period'] == 0) {
             $this->template()->assign('bIsFree', true);
             $this->template()->assign('iPurchaseId', $iPurchaseId);
             Phpfox::getService('subscribe.purchase.process')->update($iPurchaseId, $aPackage['package_id'], 'completed', Phpfox::getUserId(), $aPackage['user_group_id'], $aPackage['fail_user_group']);
             return;
         }
     }
     /* Load the gateway only if its not free */
     if (($aPackage['default_cost'] != '0.00' || $aPackage['recurring_period'] != 0) && $iPurchaseId) {
         $this->setParam('gateway_data', array('item_number' => 'subscribe|' . $iPurchaseId, 'currency_code' => $aPackage['default_currency_id'], 'amount' => $aPackage['default_cost'], 'item_name' => $aPackage['title'], 'return' => $this->url()->makeUrl('subscribe.complete'), 'recurring' => $aPackage['recurring_period'], 'recurring_cost' => isset($aPackage['default_recurring_cost']) ? $aPackage['default_recurring_cost'] : '', 'alternative_cost' => isset($aPackage['price'][0]) ? serialize($aPackage['price']) : '', 'alternative_recurring_cost' => isset($aPackage['recurring_price'][0]) ? serialize($aPackage['recurring_price']) : ''));
     }
 }
开发者ID:lev1976g,项目名称:core,代码行数:37,代码来源:upgrade.class.php

示例3: process

	/**
	 * Class process method wnich is used to execute this component.
	 */
	public function process()
	{
		if (Phpfox::getUserBy('profile_page_id'))
		{
			return false;
		}
		
		if (!Phpfox::isUser())
		{
			return false;
		}
		
		$iTotal = 20;		
		list($iCnt, $aRows) = Phpfox::getService('friend')->get('friend.is_page = 0 AND friend.user_id = ' . Phpfox::getUserId(), 'ls.last_activity DESC', 0, $iTotal, true, false, true);

		$this->template()->assign(array(
				'sHeader' => '' . Phpfox::getPhrase('friend.friends_online') . ' (' . $iCnt . ')',
				'aFriends' => $aRows			
			)
		);
		
		if (Phpfox::getUserParam('friend.can_remove_friends_from_dashboard'))
		{
			//$this->template()->assign('sDeleteBlock', 'dashboard');
		}

		return 'block';	
	}	
开发者ID:hoanghd,项目名称:tools,代码行数:31,代码来源:mini.class.php

示例4: process

 /**
  * Controller
  */
 public function process()
 {
     Phpfox::isUser(true);
     Phpfox::getUserParam('core.can_gift_points', true);
     $aUser = Phpfox::getService('user')->get($this->getParam('user_id'), true);
     $this->template()->assign(array('aUser' => $aUser, 'iCurrentAvailable' => Phpfox::getUserBy('activity_points'), 'iTrgUserId' => $this->getParam('user_id')));
 }
开发者ID:nima7r,项目名称:phpfox-dist,代码行数:10,代码来源:giftpoints.class.php

示例5: process

 /**
  * Controller
  */
 public function process()
 {
     Phpfox::isUser(true);
     if (!Phpfox::getUserParam('user.can_control_notification_privacy') && !Phpfox::getUserParam('user.can_control_profile_privacy')) {
         return Phpfox_Error::display(Phpfox::getPhrase('user.privacy_settings_have_been_disabled_for_your_user_group'));
     }
     if ($aVals = $this->request()->getArray('val')) {
         if (Phpfox::getService('user.privacy.process')->update($aVals)) {
             $this->url()->send('user.privacy', null, Phpfox::getPhrase('user.privacy_settings_successfully_updated'));
         }
     }
     list($aUserPrivacy, $aNotifications, $aProfiles, $aItems) = Phpfox::getService('user.privacy')->get();
     $aUserInfo = Phpfox::getService('user')->get(Phpfox::getUserId());
     ($sPlugin = Phpfox_Plugin::get('user.component_controller_index_process')) ? eval($sPlugin) : false;
     $aMenus = array('profile' => Phpfox::getPhrase('user.profile'), 'items' => Phpfox::getPhrase('user.items'), 'notifications' => Phpfox::getPhrase('user.notifications'), 'blocked' => Phpfox::getPhrase('user.blocked_users'));
     if (!Phpfox::isModule('privacy')) {
         unset($aMenus['items']);
     }
     if (Phpfox::getUserParam('user.can_be_invisible')) {
         // $aMenus['invisible'] = Phpfox::getPhrase('user.invisible_mode');
     }
     $this->template()->buildPageMenu('js_privacy_block', $aMenus, array('no_header_border' => true, 'link' => $this->url()->makeUrl(Phpfox::getUserBy('user_name')), 'phrase' => Phpfox::getPhrase('user.view_your_profile')));
     if ($this->request()->get('view') == 'blocked') {
         $this->template()->assign(array('bGoToBlocked' => true));
     }
     $this->template()->setTitle(Phpfox::getPhrase('user.privacy_settings'))->setBreadcrumb('Account', $this->url()->makeUrl('profile'))->setBreadcrumb(Phpfox::getPhrase('user.privacy_settings'), $this->url()->makeUrl('user.privacy'), true)->setFullSite()->setHeader(array('privacy.css' => 'module_user'))->assign(array('aForms' => $aUserPrivacy['privacy'], 'aPrivacyNotifications' => $aNotifications, 'aProfiles' => $aProfiles, 'aUserPrivacy' => $aUserPrivacy, 'aBlockedUsers' => Phpfox::getService('user.block')->get(), 'aUserInfo' => $aUserInfo, 'aItems' => $aItems));
 }
开发者ID:lev1976g,项目名称:core,代码行数:30,代码来源:privacy.class.php

示例6: process

 public function process()
 {
     define('PHPFOX_FEED_STREAM_MODE', true);
     if ($val = $this->request()->get('val')) {
         Phpfox::isUser(true);
         // if (isset($aVals['user_status']) && ($iId = Phpfox::getService('user.process')->updateStatus($aVals)))
         $val['user_status'] = $val['content'];
         $id = Phpfox::getService('user.process')->updateStatus($val);
         Feed_Service_Feed::instance()->processAjax($id);
         echo Phpfox_Ajax::instance()->getData();
         exit;
     }
     $aFeedCallback = [];
     if ($module = $this->request()->get('module')) {
         $aFeedCallback = ['module' => $this->request()->get('module'), 'table_prefix' => $this->request()->get('module') . '_', 'item_id' => $this->request()->get('item_id')];
     }
     $aFeed = Feed_Service_Feed::instance()->callback($aFeedCallback)->get(null, $this->request()->get('id'));
     header('Content-type: application/javascript');
     if (!isset($aFeed[0])) {
         echo ';__(' . json_encode(['url' => $this->url()->makeUrl('feed.stream', ['id' => $this->request()->get('id')]), 'content' => false]) . ');';
         exit;
     }
     $this->template()->assign('aGlobalUser', Phpfox::isUser() ? Phpfox::getUserBy(null) : array());
     $this->template()->assign('aFeed', $aFeed[0]);
     $url = $this->url()->makeUrl('feed.stream', ['id' => $this->request()->get('id')]);
     if ($aFeedCallback) {
         $this->template()->assign('aFeedCallback', $aFeedCallback);
         $url = $this->url()->makeUrl('feed.stream', ['id' => $this->request()->get('id'), 'module' => $this->request()->get('module'), 'item_id' => $this->request()->get('item_id')]);
     }
     $this->template()->getTemplate('feed.block.entry');
     echo ';__(' . json_encode(['url' => $url, 'content' => ob_get_clean()]) . ');';
     exit;
 }
开发者ID:lev1976g,项目名称:core,代码行数:33,代码来源:stream.class.php

示例7: send

 public function send($aVals)
 {
     Phpfox::isUser(true);
     $oFilter = Phpfox::getLib('parse.input');
     if (!is_numeric($aVals['interaction']) || !is_numeric($aVals['user_id'])) {
         return Phpfox_Error::set(Phpfox::getPhrase('interact.an_error_has_occured'));
     }
     if (!($iId = $this->database()->insert(Phpfox::getT('interactions_main'), array('sender_id' => Phpfox::getUserId(), 'recipient_id' => $aVals['user_id'], 'interaction_id' => $aVals['interaction'], 'message' => $aVals['text'] ? $oFilter->clean($aVals['text']) : '', 'time' => time(), 'is_reply' => $aVals['is_reply'], 'is_new' => 1)))) {
         return Phpfox_Error::set(Phpfox::getPhrase('interact.an_error_has_occured'));
     }
     if ($aVals['item_id'] != 0) {
         $this->database()->update(Phpfox::getT('interactions_main'), array('replied' => 1, 'is_new' => 0), 'id = ' . $aVals['item_id']);
     }
     if (Phpfox::isModule('notification')) {
         Phpfox::getService('notification.process')->add('interact', $iId, $aVals['user_id'], Phpfox::getUserId());
     }
     if (Phpfox::isModule('feed') && Phpfox::getParam('interact.add_interact_to_feed')) {
         $iFeedId = Phpfox::getService('feed.process')->add('interact', $iId, '', Phpfox::getUserId());
         if (Phpfox::getParam('interact.interact_friends_only')) {
             $this->database()->update(Phpfox::getT('feed'), array('privacy' => 1), 'feed_id = ' . $iFeedId);
         }
     }
     if (Phpfox::getParam('interact.send_email')) {
         $aInteractInfo = $this->database()->select('i.*, im.*, u.language_id')->from(Phpfox::getT('interactions_main'), 'im')->join(Phpfox::getT('interactions'), 'i', 'im.interaction_id = i.id')->join(Phpfox::getT('user'), 'u', 'im.recipient_id = u.user_id')->where('im.id = ' . $iId)->execute('getSlaveRow');
         $sInteraction = strtolower(Phpfox::getPhrase('interact.action_' . Phpfox::getService('language.phrase.process')->prepare(htmlspecialchars_decode($aInteractInfo['name'], ENT_QUOTES))));
         if ($aInteractInfo['message'] == '') {
             $sLink = Phpfox::getLib('url')->makeUrl('interact.inbox');
             Phpfox::getLib('mail')->to($aVals['user_id'])->subject(array('interact.full_name_interacted_with_you_on_site_title', array('full_name' => Phpfox::getUserBy('full_name'), 'site_title' => Phpfox::getParam('core.site_title')), false, null, $aInteractInfo['language_id']))->message(array('interact.full_name_interacted_with_you', array('full_name' => Phpfox::getUserBy('full_name'), 'interaction' => $sInteraction, 'message' => $oFilter->clean(strip_tags(Phpfox::getLib('parse.bbcode')->cleanCode(str_replace(array('&lt;', '&gt;'), array('<', '>'), $aInteractInfo['message'])))), 'link' => $sLink)))->notification('interact.interact_received')->send();
         } else {
             $sLink = Phpfox::getLib('url')->makeUrl('interact.inbox');
             Phpfox::getLib('mail')->to($aVals['user_id'])->subject(array('interact.full_name_interacted_with_you_on_site_title', array('full_name' => Phpfox::getUserBy('full_name'), 'site_title' => Phpfox::getParam('core.site_title')), false, null, $aInteractInfo['language_id']))->message(array('interact.full_name_interacted_with_you_message', array('full_name' => Phpfox::getUserBy('full_name'), 'interaction' => $sInteraction, 'message' => $oFilter->clean(strip_tags(Phpfox::getLib('parse.bbcode')->cleanCode(str_replace(array('&lt;', '&gt;'), array('<', '>'), $aInteractInfo['message'])))), 'link' => $sLink)))->notification('interact.interact_received')->send();
         }
     }
     return $iId;
 }
开发者ID:Lovinity,项目名称:EQM,代码行数:35,代码来源:interactions.class.php

示例8: check

 public function check()
 {
     if (!Phpfox::getParam('user.check_promotion_system')) {
         return false;
     }
     if (!Phpfox::isUser()) {
         return false;
     }
     $sCacheId = $this->cache()->set('promotion_' . Phpfox::getUserBy('user_group_id'));
     $aPromotion = array();
     if (!($aPromotion = $this->cache()->get($sCacheId))) {
         $aPromotion = $this->database()->select('*')->from($this->_sTable)->where('user_group_id = ' . Phpfox::getUserBy('user_group_id'))->execute('getSlaveRow');
         $this->cache()->save($sCacheId, $aPromotion);
     }
     if (isset($aPromotion['promotion_id'])) {
         if ((int) Phpfox::getUserBy('activity_points') >= (int) $aPromotion['total_activity'] && (int) $aPromotion['total_activity']) {
             $this->database()->update(Phpfox::getT('user'), array('user_group_id' => $aPromotion['upgrade_user_group_id']), 'user_id = ' . Phpfox::getUserId());
             Phpfox_Url::instance()->send('user.promotion');
         } else {
             if ((int) $aPromotion['total_day'] > 0) {
                 if (str_replace('-', '', Phpfox::getUserBy('joined') - PHPFOX_TIME) >= $aPromotion['total_day'] * 86400) {
                     $this->database()->update(Phpfox::getT('user'), array('user_group_id' => $aPromotion['upgrade_user_group_id']), 'user_id = ' . Phpfox::getUserId());
                     Phpfox_Url::instance()->send('user.promotion');
                 }
             }
         }
     }
 }
开发者ID:nima7r,项目名称:phpfox-dist,代码行数:28,代码来源:promotion.class.php

示例9: render

 public function render($name, array $params = array())
 {
     $params['ActiveUser'] = (new \Api\User())->get(\Phpfox::getUserBy());
     $params['isPager'] = isset($_GET['page']) ? true : false;
     $params['Is'] = new \Core\Is();
     return $this->loadTemplate($name)->render($params);
 }
开发者ID:Jinkers,项目名称:phpfox,代码行数:7,代码来源:Environment.php

示例10: process

 /**
  * Class process method wnich is used to execute this component.
  */
 public function process()
 {
     if (defined('PHPFOX_IS_AD_PREVIEW')) {
         return false;
     }
     if (Phpfox::getUserBy('profile_page_id') > 0) {
         return false;
     }
     $oRequest = Phpfox::getLib('request');
     if ($this->template()->bIsSample || $oRequest->get('req2') == 'designer' || $oRequest->get('req2') == 'index-member' && $oRequest->get('req3') == 'customize') {
         return false;
     }
     if (!Phpfox::isModule('friend')) {
         return false;
     }
     $sLastOpenWindow = null;
     $sLastWindowParam = null;
     if ($sLastOpenWindow = Phpfox::getCookie('im_last_open_window')) {
         if (preg_match("/chat_(.*)/i", $sLastOpenWindow, $aMatches)) {
             $sLastOpenWindow = 'chat';
             $sLastWindowParam = (int) $aMatches[1];
         } elseif ($sLastOpenWindow == 'messenger') {
             $sLastOpenWindow = 'messenger';
         }
         Phpfox::setCookie('im_last_open_window', '', -1);
     }
     $iCnt = 0;
     if (Phpfox::getUserBy('im_hide') != '1') {
         $aCond = array('AND f.user_id = ' . Phpfox::getUserId() . ' AND u.im_hide != 1');
         list($iCnt, $aFriends) = Phpfox::getService('im')->getOnlineFriends(Phpfox::getUserId(), $aCond);
     }
     $this->template()->assign(array('iTotalFriendsOnline' => $iCnt, 'sLastOpenWindow' => $sLastOpenWindow, 'sLastWindowParam' => $sLastWindowParam));
 }
开发者ID:Lovinity,项目名称:EQM,代码行数:36,代码来源:footer.class.php

示例11: process

 public function process()
 {
     $iLogId = Phpfox::getUserId();
     $aUser = $this->getParam('aUser');
     $iUserId = $aUser['user_id'];
     if ($iLogId == $iUserId || !Phpfox::isUser()) {
         return false;
     }
     if (!Phpfox::getService('user.privacy')->hasAccess($aUser['user_id'], 'interact.can_interact')) {
         return false;
     }
     if (Phpfox::getParam('interact.interact_friends_only')) {
         if (!Phpfox::getService('friend')->isFriend($aUser['user_id'], Phpfox::getUserId())) {
             return false;
         }
     }
     $aInteractions = Phpfox::getService('interact.manage')->getInteractions();
     $aUserGroups = Phpfox::getService('user.group')->get();
     foreach ($aUserGroups as $aKey => $aUserGroup) {
         if ($aUserGroups[$aKey]['user_group_id'] == 3 || $aUserGroups[$aKey]['user_group_id'] == 5) {
             unset($aUserGroups[$aKey]);
         }
     }
     $this->template()->assign(array('aUserGroups' => $aUserGroups, 'iUserGroupId' => Phpfox::getUserBy('user_group_id'), 'aInteractions' => $aInteractions, 'iLogId' => $iLogId, 'iUserId' => $iUserId, 'sHeader' => Phpfox::getPhrase('interact.interact')));
     return 'block';
 }
开发者ID:Lovinity,项目名称:EQM,代码行数:26,代码来源:profile.class.php

示例12: process

 /**
  * Class process method wnich is used to execute this component.
  */
 public function process()
 {
     if (Phpfox::isUser()) {
         $aGroup = Phpfox::getService('user.group')->getGroup(Phpfox::getUserBy('user_group_id'));
     }
     $this->template()->assign(array('aPurchases' => Phpfox::isUser() ? Phpfox::getService('subscribe.purchase')->get(Phpfox::getUserId(), 5) : array(), 'aPackages' => Phpfox::getService('subscribe')->getPackages(Phpfox::isUser() ? false : true, Phpfox::isUser() ? true : false), 'aGroup' => Phpfox::isUser() ? $aGroup : array(), 'bIsOnSignup' => $this->getParam('on_signup') ? true : false));
 }
开发者ID:Lovinity,项目名称:EQM,代码行数:10,代码来源:list.class.php

示例13: process

	/**
	 * Class process method wnich is used to execute this component.
	 */
	public function process()
	{
		// If the user is not a member don't display this block
		if (!Phpfox::isUser())
		{
			return false;
		}
		
		$sUserProfileImage = Phpfox::getLib('image.helper')->display(array_merge(array('user' => Phpfox::getService('user')->getUserFields(true)), array(				
					'path' => 'core.url_user',
					'file' => Phpfox::getUserBy('user_image'),
					'suffix' => '_50_square',
					'max_width' => 50,
					'max_height' => 50
				)
			)
		);		

		// Assign template vars
		$this->template()->assign(array(
				'sUserProfileImage' => $sUserProfileImage,
				'sUserProfileUrl' => $this->url()->makeUrl('profile', Phpfox::getUserBy('user_name')), // Create the users profile URL
				'sCurrentUserName' => Phpfox::getLib('parse.output')->shorten(Phpfox::getLib('parse.output')->clean(Phpfox::getUserBy('full_name')), 50, '...'), // Get the users display name
				'sCurrentTimeStamp' => Phpfox::getTime(Phpfox::getParam('core.global_welcome_time_stamp'), PHPFOX_TIME), // Get the current time stamp
				'iTotalActivityPoints' => (int) Phpfox::getUserBy('activity_points'),
				'iTotalProfileViews' => (int) Phpfox::getUserBy('total_view')
			)
		);
	}
开发者ID:hoanghd,项目名称:tools,代码行数:32,代码来源:welcome.class.php

示例14: sendEmails

	public function sendEmails($iThreadId, $iPostId = null)
	{
		$aUsers = $this->database()->select('fs.user_id, ft.forum_id, ft.group_id, ft.title, ft.title_url, f.name AS forum_name, f.name_url AS forum_url')
			->from($this->_sTable, 'fs')
			->join(Phpfox::getT('forum_thread'), 'ft', 'ft.thread_id = fs.thread_id')
			->leftJoin(Phpfox::getT('forum'), 'f', 'f.forum_id = ft.forum_id')
			->where('fs.thread_id = ' . (int) $iThreadId)
			->execute('getSlaveRows');		
		
		if (count($aUsers))
		{			
			$sLink = Phpfox::getLib('url')->makeUrl('forum.thread', array('predirect' => $iPostId));
			
			foreach ($aUsers as $aUser)
			{			
				Phpfox::getService('notification.process')->add('forum_subscribed_post', $iPostId, $aUser['user_id']);
				
				Phpfox::getLib('mail')->to($aUser['user_id'])
					->subject(array('forum.reply_to_thread_title', array('title' => $aUser['title'])))
					->message(array('forum.full_name_has_just_replied_to_the_thread_title', array('full_name' => Phpfox::getUserBy('full_name'), 'title' => $aUser['title'], 'link' => $sLink)))
					->notification('forum.subscribe_new_post')
					->send();	
			}
		}
	}
开发者ID:hoanghd,项目名称:tools,代码行数:25,代码来源:subscribe.class.php

示例15: process

 /**
  * Class process method wnich is used to execute this component.
  */
 public function process()
 {
     ($sPlugin = Phpfox_Plugin::get('friend.component_block_mini_process')) ? eval($sPlugin) : false;
     if (isset($bHideThisBlock)) {
         return false;
     }
     if (Phpfox::getUserBy('profile_page_id')) {
         return false;
     }
     if (!Phpfox::isUser()) {
         return false;
     }
     $iTotal = 20;
     if (Phpfox::getParam('friend.load_friends_online_ajax') && !PHPFOX_IS_AJAX) {
         $aRows = array();
         $iCnt = 0;
     } else {
         list($iCnt, $aRows) = Phpfox::getService('friend')->get('friend.is_page = 0 AND friend.user_id = ' . Phpfox::getUserId(), 'ls.last_activity DESC', 0, $iTotal, true, false, true);
     }
     $this->template()->assign(array('sHeader' => '' . Phpfox::getPhrase('friend.friends_online') . ' (<span id="js_total_block_friends_onlin">' . $iCnt . '</span>)', 'aFriends' => $aRows, 'iTotalFriendsOnline' => $iCnt));
     if (Phpfox::getUserParam('friend.can_remove_friends_from_dashboard')) {
         //$this->template()->assign('sDeleteBlock', 'dashboard');
     }
     return 'block';
 }
开发者ID:Lovinity,项目名称:EQM,代码行数:28,代码来源:mini.class.php


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