\Report_model

Model Class

Summary

Methods
Properties
Constants
__construct()
__get()
Addreport()
getReport()
updateData()
getReportCount()
getRow()
getfaceresult()
gettongueresult()
getuserinfo()
getquesttionRow()
getdaycount()
delete()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$table
N/A

Properties

$table

$table : 

Type

Methods

__construct()

__construct() : void

Class constructor

__get()

__get(string  $key) 

__get magic

Allows models to access CI's loaded classes using the same syntax as controllers.

Parameters

string $key

Addreport()

Addreport(\unknown  $reportData = array()) 

举报录入

Parameters

\unknown $reportData

getReport()

getReport(  $parm,   $limit,   $start) 

获取用户举报记录

Parameters

$parm
$limit
$start

updateData()

updateData(  $roleData,   $roleId) 

修改

Parameters

$roleData
$roleId

getReportCount()

getReportCount(  $where = '') 

查询总条数

Parameters

$where

getRow()

getRow(  $menuId) 

获取菜单下单个广告

Parameters

$menuId

getfaceresult()

getfaceresult(  $menuId) 

获取脸部结果

Parameters

$menuId

gettongueresult()

gettongueresult(  $menuId) 

获取舌部结果

Parameters

$menuId

getuserinfo()

getuserinfo(  $menuId) 

获取用户信息

Parameters

$menuId

getquesttionRow()

getquesttionRow(  $menuId) 

获取菜单下单个广告

Parameters

$menuId

getdaycount()

getdaycount(  $stime = '',   $etime = '',   $client_info = '') 

获取每一天的数据

Parameters

$stime
$etime
$client_info

delete()

delete(  $cateId) 

删除

Parameters

$cateId