mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
페이징을 할 경우 DB class에서 navigation을 처리하도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3154 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6a322a17ce
commit
539c32082e
6 changed files with 133 additions and 49 deletions
|
|
@ -246,6 +246,7 @@
|
|||
|
||||
if( (is_a($output, 'Object')||is_subclass_of($output,'Object'))&&!$output->toBool()) return $output;
|
||||
|
||||
|
||||
// action값에 따라서 쿼리 생성으로 돌입
|
||||
switch($output->action) {
|
||||
case 'insert' :
|
||||
|
|
@ -395,5 +396,24 @@
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief condition key를 return
|
||||
**/
|
||||
function getConditionList($output) {
|
||||
$conditions = array();
|
||||
if(count($output->conditions)) {
|
||||
foreach($output->conditions as $key => $val) {
|
||||
if($val['condition']) {
|
||||
foreach($val['condition'] as $k => $v) {
|
||||
$conditions[] = $v['column'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $conditions;
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue