本文整理汇总了PHP中keke_table_class::format_condit_data方法的典型用法代码示例。如果您正苦于以下问题:PHP keke_table_class::format_condit_data方法的具体用法?PHP keke_table_class::format_condit_data怎么用?PHP keke_table_class::format_condit_data使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类keke_table_class
的用法示例。
在下文中一共展示了keke_table_class::format_condit_data方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_service_comment
function get_service_comment($sid, $w = array(), $p = array(), $order = null)
{
global $kekezu;
$comm_obj = new Keke_witkey_comment_class();
$where = " select * from " . TABLEPRE . "witkey_comment where obj_id = '{$sid}' and obj_type = 'service' ";
$arr = keke_table_class::format_condit_data($where, $order, $w, $p);
$comm_info = db_factory::query($arr['where']);
$comm_arr['comm_info'] = $comm_info;
$comm_arr['pages'] = $arr['pages'];
return $comm_arr;
}
示例2: get_mark_info
public static function get_mark_info($w = array(), $p = array(), $order = null, $ext = null)
{
global $kekezu;
$where = " select * from " . TABLEPRE . "witkey_mark where 1 = 1";
$ext and $where .= " and {$ext} ";
$arr = keke_table_class::format_condit_data($where, $order, $w, $p);
$mark_info = db_factory::query($arr['where']);
$mark_arr['mark_info'] = $mark_info;
$mark_arr['pages'] = $arr['pages'];
return $mark_arr;
}