Model::getBindParam
Get Bind Parameter types
Description
public array Model::getBindParam()
Example
Controller
$model = new Model(false, array(
'bind' => array(
'news_id' => 'INTEGER',
'post_date' => 'DATETIME',
),
));
$bindParam = $model->getBindParam();
var_dump($bindParam);
Output
array(2) {
["post_id"]=> string(7) "INTEGER"
["post_date"]=> string(8) "DATETIME"
}