Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Sprig_Core
db
Sprig_Core::db PHP Method
Sprig_Core Class Documentation
显示文件
Open project: sittercity/sprig
db()
public
method
Gets and sets the database instance used for this model.
public
db
(
$db
= NULL ) :
string
return
string
public function db($db = NULL) { if ($db) { $this->_db = $db; } return $this->_db; }
Sprig_Core
__construct
__get
__isset
__set
__sleep
__toString
__unset
_init
_unique_field
as_array
changed
check
count
create
db
delete
factory
field
fields
fk
input
inputs
label
load
loaded
pk
relate
related
select_list
state
table
tk
unrelate
update
values
verbose