\Vendercode_model

厂家码model

Summary

Methods
Properties
Constants
__construct()
__get()
insertData()
getvenderRow()
getvenderRowByid()
setUserByID()
getVenderCount()
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

insertData()

insertData(  $userData) 

添加

Parameters

$userData

getvenderRow()

getvenderRow(  $userId) 

获取单条数据

Parameters

$userId

getvenderRowByid()

getvenderRowByid(  $userId) 

获取单条数据

Parameters

$userId

setUserByID()

setUserByID(  $updateData,   $Id) 

修改

Parameters

$updateData
$Id

getVenderCount()

getVenderCount(string  $where = '') : mixed

获取厂家总数

Parameters

string $where

Returns

mixed