\Provincecity_app_model

Model Class

Summary

Methods
Properties
Constants
__construct()
__get()
check()
check_all()
show_home()
comment()
update()
add()
delete()
page()
getHouseRow()
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

check()

check(  $where) 

Parameters

$where

check_all()

check_all() 

show_home()

show_home() 

comment()

comment() 

update()

update(  $id,   $data) 

Parameters

$id
$data

add()

add(  $data) 

Parameters

$data

delete()

delete(  $id) 

Parameters

$id

page()

page(  $start_position,   $per_nums,   $issue,   $ser = '',   $city = '') 

Parameters

$start_position
$per_nums
$issue
$ser
$city

getHouseRow()

getHouseRow(  $houseId) 

lxn 2017-7-12 查询单条数据

Parameters

$houseId