\PhoneappTable

Summary

Methods
Properties
Constants
baseaccount()
menus()
unigroup()
searchAccount()
searchWithExprie()
searchWithUnExprie()
searchAccountList()
searchAccountListFields()
searchAccounTotal()
userOwnedAccount()
accountWechatsInfo()
accountWxappInfo()
accountWebappInfo()
accountPhoneappInfo()
accountXzappInfo()
accountAliappInfo()
accountToutiaoappInfo()
accountBaiduappInfo()
searchWithKeyword()
searchWithTitle()
searchWithType()
searchWithLetter()
accountRankOrder()
accountUniacidOrder()
searchWithNoconnect()
searchWithViceFounder()
getWechatappAccount()
getUniAccountByAcid()
getUniAccountByUniacid()
accountGroupModules()
getAccountByUniacid()
getAccountExtraPermission()
getUniVerifycode()
getUniSetting()
getUniAccountList()
getOwnerUid()
getOwnedAccountCount()
getAccountNameByUniacid()
__construct()
searchWithPage()
getLastQueryTotal()
count()
fill()
get()
getall()
getQuery()
getTableName()
with()
getById()
getcolumn()
where()
whereor()
orderby()
save()
delete()
__call()
createPhoneApp()
phoneappAccountInfo()
No public properties found
ONE_TO_ONE
ONE_TO_MANY
BELONGS_TO
MANY_TO_MANY
valid()
hasOne()
hasMany()
belongsTo()
belongsMany()
$tableName
$primaryKey
$uni_verifycode
$uniSettings
$uniAccountUsers
$field
$rule
$default
$cast
$query
N/A
fillField()
getColumnVal()
cast()
appendDefault()
loadRelation()
doload()
doManyToMany()
isGetSingle()
getForeignVal()
getSecondTableData()
groupBy()
relationArray()
doWhere()
snake()
studly()
$attribute
$relationDefine
N/A

Constants

ONE_TO_ONE

ONE_TO_ONE = 'ONE_TO_ONE'

ONE_TO_MANY

ONE_TO_MANY = 'ONE_TO_MANY'

BELONGS_TO

BELONGS_TO = 'BELONGS_TO'

MANY_TO_MANY

MANY_TO_MANY = 'MANY_TO_MANY'

Properties

$tableName

$tableName : 

Type

$primaryKey

$primaryKey : 

Type

$uni_verifycode

$uni_verifycode : 

Type

$uniSettings

$uniSettings : 

Type

$uniAccountUsers

$uniAccountUsers : 

Type

$field

$field : 

Type

$rule

$rule : 

Type

$default

$default : 

Type

$cast

$cast : 

Type

$query

$query : 

Type

$attribute

$attribute : 

Type

$relationDefine

$relationDefine : 

Type

Methods

baseaccount()

baseaccount() 

menus()

menus() 

unigroup()

unigroup() 

searchAccount()

searchAccount(  $expire_type,   $fields,   $isdeleted = 1) 

Parameters

$expire_type
$fields
$isdeleted

searchWithExprie()

searchWithExprie() 

searchWithUnExprie()

searchWithUnExprie() 

searchAccountList()

searchAccountList(  $expire = false,   $isdeleted = 1,   $fields = 'a.uniacid') 

Parameters

$expire
$isdeleted
$fields

searchAccountListFields()

searchAccountListFields(  $fields = 'a.uniacid',   $expire = false) 

Parameters

$fields
$expire

searchAccounTotal()

searchAccounTotal(  $expire = false) 

Parameters

$expire

userOwnedAccount()

userOwnedAccount(  $uid) 

Parameters

$uid

accountWechatsInfo()

accountWechatsInfo(  $uniacids,   $uid) 

Parameters

$uniacids
$uid

accountWxappInfo()

accountWxappInfo(  $uniacids,   $uid) 

Parameters

$uniacids
$uid

accountWebappInfo()

accountWebappInfo(  $uniacids,   $uid) 

Parameters

$uniacids
$uid

accountPhoneappInfo()

accountPhoneappInfo(  $uniacids,   $uid) 

Parameters

$uniacids
$uid

accountXzappInfo()

accountXzappInfo(  $uniacids,   $uid) 

Parameters

$uniacids
$uid

accountAliappInfo()

accountAliappInfo(  $uniacids,   $uid) 

Parameters

$uniacids
$uid

accountToutiaoappInfo()

accountToutiaoappInfo(  $uniacids,   $uid) 

Parameters

$uniacids
$uid

accountBaiduappInfo()

accountBaiduappInfo(  $uniacids,   $uid) 

Parameters

$uniacids
$uid

searchWithKeyword()

searchWithKeyword(  $title) 

Parameters

$title

searchWithTitle()

searchWithTitle(  $title) 

Parameters

$title

searchWithType()

searchWithType(  $types = array()) 

Parameters

$types

searchWithLetter()

searchWithLetter(  $letter) 

Parameters

$letter

accountRankOrder()

accountRankOrder() 

accountUniacidOrder()

accountUniacidOrder(  $order = 'desc') 

Parameters

$order

searchWithNoconnect()

searchWithNoconnect() 

searchWithViceFounder()

searchWithViceFounder(  $vice_founder_id) 

Parameters

$vice_founder_id

getWechatappAccount()

getWechatappAccount(  $acid) 

Parameters

$acid

getUniAccountByAcid()

getUniAccountByAcid(  $acid) 

Parameters

$acid

getUniAccountByUniacid()

getUniAccountByUniacid(  $uniacid) 

Parameters

$uniacid

accountGroupModules()

accountGroupModules(  $uniacid,   $type = '') 

Parameters

$uniacid
$type

getAccountByUniacid()

getAccountByUniacid(  $uniacid) 

Parameters

$uniacid

getAccountExtraPermission()

getAccountExtraPermission(  $uniacid) 

Parameters

$uniacid

getUniVerifycode()

getUniVerifycode(  $params) 

Parameters

$params

getUniSetting()

getUniSetting() 

getUniAccountList()

getUniAccountList() 

getOwnerUid()

getOwnerUid() 

getOwnedAccountCount()

getOwnedAccountCount(  $uid) 

Parameters

$uid

getAccountNameByUniacid()

getAccountNameByUniacid(  $uniacid) 

Parameters

$uniacid

__construct()

__construct() 

searchWithPage()

searchWithPage(  $pageindex,   $pagesize) 

Parameters

$pageindex
$pagesize

getLastQueryTotal()

getLastQueryTotal() 

count()

count() 

fill()

fill(  $field,   $value = '') 

Parameters

$field
$value

get()

get() 

getall()

getall(  $keyfield = '') 

Parameters

$keyfield

getQuery()

getQuery() 

getTableName()

getTableName() 

with()

with(  $relation) 

Parameters

$relation

getById()

getById(  $id) 

Parameters

$id

getcolumn()

getcolumn(  $field = '') 

Parameters

$field

where()

where(  $condition,   $parameters = array(),   $operator = 'AND') 

Parameters

$condition
$parameters
$operator

whereor()

whereor(  $condition,   $parameters = array()) 

Parameters

$condition
$parameters

orderby()

orderby(  $field,   $direction = 'ASC') 

Parameters

$field
$direction

save()

save() 

delete()

delete() 

__call()

__call(  $method,   $params) 

Parameters

$method
$params

createPhoneApp()

createPhoneApp(  $data) 

Parameters

$data

phoneappAccountInfo()

phoneappAccountInfo() 

valid()

valid(  $data) 

Parameters

$data

hasOne()

hasOne(  $table,   $foreign_key,   $owner_key = false) 

Parameters

$table
$foreign_key
$owner_key

hasMany()

hasMany(  $table,   $foreign_key,   $owner_key = false) 

Parameters

$table
$foreign_key
$owner_key

belongsTo()

belongsTo(  $table,   $foreign_key,   $owner_key = false) 

Parameters

$table
$foreign_key
$owner_key

belongsMany()

belongsMany(  $table,   $foreign_key,   $owner_key,   $center_table,   $center_foreign_key = false,   $center_owner_key = false) 

Parameters

$table
$foreign_key
$owner_key
$center_table
$center_foreign_key
$center_owner_key

fillField()

fillField(  $column,   $val) 

Parameters

$column
$val

getColumnVal()

getColumnVal(  $column,   $val) 

Parameters

$column
$val

cast()

cast(  $column,   $val) 

Parameters

$column
$val

appendDefault()

appendDefault() 

loadRelation()

loadRelation(array  $data,   $muti = false) 

Parameters

array $data
$muti

doload()

doload(  $relation,   $data,   $muti = false, callable  $closure = null) 

Parameters

$relation
$data
$muti
callable $closure

doManyToMany()

doManyToMany(  $relation,   $relation_param,   $data,   $muti = false) 

Parameters

$relation
$relation_param
$data
$muti

isGetSingle()

isGetSingle(  $type) 

Parameters

$type

getForeignVal()

getForeignVal(  $data,   $owner_key,   $muti = false) 

Parameters

$data
$owner_key
$muti

getSecondTableData()

getSecondTableData(  $table,   $foreign_key,   $foreign_vals,   $single = false,   $closure = null) 

Parameters

$table
$foreign_key
$foreign_vals
$single
$closure

groupBy()

groupBy(  $key,   $array) 

Parameters

$key
$array

relationArray()

relationArray(  $type,   $table,   $foreign_key,   $owner_key) 

Parameters

$type
$table
$foreign_key
$owner_key

doWhere()

doWhere(  $field,   $params,   $operator = 'AND') 

Parameters

$field
$params
$operator

snake()

snake(  $value) 

Parameters

$value

studly()

studly(  $value) 

Parameters

$value