mirror of
https://github.com/typecho/typecho.git
synced 2025-03-25 04:19:45 +01:00
add method to get query params
This commit is contained in:
parent
ae684c3a82
commit
f3a28f38e2
@ -215,6 +215,16 @@ class Typecho_Db_Query
|
||||
return '#param:' . (count($this->_params) - 1) . '#';
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取参数
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getParams()
|
||||
{
|
||||
return $this->_params;
|
||||
}
|
||||
|
||||
/**
|
||||
* set default params
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user