IBOS open source
  • Namespace
  • Class

Namespaces

  • application
    • core
      • cache
        • driver
        • provider
      • components
      • controllers
      • engines
        • local
        • sae
      • model
      • modules
      • utils
      • widgets
    • modules
      • article
        • controllers
        • core
        • model
        • utils
      • calendar
        • controllers
        • model
        • utils
      • contact
        • controllers
        • model
        • utils
      • dashboard
        • controllers
        • model
        • utils
      • department
        • components
        • model
        • utils
      • diary
        • components
        • controllers
        • model
        • utils
        • widgets
      • email
        • controllers
        • core
        • model
        • utils
      • main
        • behaviors
        • components
        • controllers
        • model
        • utils
        • widgets
      • message
        • controllers
        • core
          • co
          • wx
            • callback
            • event
        • model
        • utils
      • mobile
        • components
        • controllers
        • utils
      • position
        • components
        • model
        • utils
      • recruit
        • components
        • controllers
        • core
        • model
        • utils
        • widgets
      • role
        • model
        • utils
      • user
        • components
        • controllers
        • model
        • utils
      • vote
        • components
        • controllers
        • model
        • utils
      • weibo
        • controllers
        • core
        • model
        • utils

Classes

  • BgTemplate
  • FailedIp
  • FailedLogin
  • OnlineTime
  • User
  • UserBinding
  • UserCount
  • UserGroup
  • UserProfile
  • UserStatus

Class UserBinding

CActiveRecord
Extended by application\core\model\Model
Extended by application\modules\user\model\UserBinding
Namespace: application\modules\user\model
Copyright: 2008-2014 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/user/model/UserBinding.php

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public type
# fetchValuesByUids( array $uids, string $app )

批量查找指定用户与某个绑定类型的值

批量查找指定用户与某个绑定类型的值

Parameters

$uids
用户ID数组
$app
绑定类型

Returns

type
public array
# fetchAllByApp( string $app )

Parameters

$app

Returns

array
public string
# fetchBindValue( integer $uid, string $app )

获取指定用户指定app的绑定值

获取指定用户指定app的绑定值

Parameters

$uid
用户ID
$app
绑定类型

Returns

string
public integer
# fetchUidByValue( string $value, string $app )

根据绑定值,绑定类型查找UID

根据绑定值,绑定类型查找UID

Parameters

$value
绑定的值
$app
绑定的类型

Returns

integer
public boolean
# getIsBinding( integer $uid, string $app )

检查指定用户是否与某个类型已经绑定

检查指定用户是否与某个类型已经绑定

Parameters

$uid
用户ID
$app
要查询的绑定类型

Returns

boolean

Methods inherited from application\core\model\Model

add(), beforeDelete(), create(), deleteByPk(), fetch(), fetchAll(), fetchAllByAttributes(), fetchAllByPk(), fetchAllSortByPk(), fetchByAttributes(), fetchByPk(), fetchCache(), fetchCaches(), getCacheKey(), getIsAllowCache(), getMaxId(), getModelClass(), init(), modify(), remove(), updateAll(), updateByPk()

Properties summary

Properties inherited from application\core\model\Model

$allowCache, $cacheLife

IBOS open source API documentation generated by ApiGen