| @@ 233-239 (lines=7) @@ | ||
| 230 | $obj = new stdClass(); |
|
| 231 | $obj->module_srl = $args->module_srl; |
|
| 232 | $output = executeQueryArray('widgets.content.getCategories',$obj); |
|
| 233 | if($output->toBool() && $output->data) |
|
| 234 | { |
|
| 235 | foreach($output->data as $key => $val) |
|
| 236 | { |
|
| 237 | $category_lists[$val->module_srl][$val->category_srl] = $val; |
|
| 238 | } |
|
| 239 | } |
|
| 240 | // Get a list of documents |
|
| 241 | $obj->module_srl = $args->module_srl; |
|
| 242 | $obj->category_srl = $args->category_srl; |
|
| @@ 311-317 (lines=7) @@ | ||
| 308 | $obj->isvalid = 'Y'; |
|
| 309 | // Get categories |
|
| 310 | $output = executeQueryArray('widgets.content.getCategories',$obj); |
|
| 311 | if($output->toBool() && $output->data) |
|
| 312 | { |
|
| 313 | foreach($output->data as $key => $val) |
|
| 314 | { |
|
| 315 | $category_lists[$val->module_srl][$val->category_srl] = $val; |
|
| 316 | } |
|
| 317 | } |
|
| 318 | // Get a file list in each document on the module |
|
| 319 | $obj->list_count = $args->list_count * $args->page_count; |
|
| 320 | $files_output = executeQueryArray("file.getOneFileInDocument", $obj); |
|
| @@ 669-675 (lines=7) @@ | ||
| 666 | $obj = new stdClass; |
|
| 667 | // Get categories |
|
| 668 | $output = executeQueryArray('widgets.content.getCategories',$obj); |
|
| 669 | if($output->toBool() && $output->data) |
|
| 670 | { |
|
| 671 | foreach($output->data as $key => $val) |
|
| 672 | { |
|
| 673 | $category_lists[$val->module_srl][$val->category_srl] = $val; |
|
| 674 | } |
|
| 675 | } |
|
| 676 | ||
| 677 | $obj->module_srl = $args->module_srl; |
|
| 678 | $obj->sort_index = $args->order_target; |
|
| @@ 216-222 (lines=7) @@ | ||
| 213 | $obj = new stdClass(); |
|
| 214 | $obj->module_srl = $args->module_srl; |
|
| 215 | $output = executeQueryArray('widgets.content.getCategories',$obj); |
|
| 216 | if($output->toBool() && $output->data) |
|
| 217 | { |
|
| 218 | foreach($output->data as $key => $val) |
|
| 219 | { |
|
| 220 | $category_lists[$val->module_srl][$val->category_srl] = $val; |
|
| 221 | } |
|
| 222 | } |
|
| 223 | // Get a list of documents |
|
| 224 | $obj->module_srl = $args->module_srl; |
|
| 225 | $obj->sort_index = $args->order_target; |
|
| @@ 280-286 (lines=7) @@ | ||
| 277 | $obj->isvalid = 'Y'; |
|
| 278 | // Get categories |
|
| 279 | $output = executeQueryArray('widgets.content.getCategories',$obj); |
|
| 280 | if($output->toBool() && $output->data) |
|
| 281 | { |
|
| 282 | foreach($output->data as $key => $val) |
|
| 283 | { |
|
| 284 | $category_lists[$val->module_srl][$val->category_srl] = $val; |
|
| 285 | } |
|
| 286 | } |
|
| 287 | // Get a file list in each document on the module |
|
| 288 | $obj->list_count = $args->list_count; |
|
| 289 | $files_output = executeQueryArray("file.getOneFileInDocument", $obj); |
|
| @@ 587-592 (lines=6) @@ | ||
| 584 | function _getTrackbackItems($args){ |
|
| 585 | // Get categories |
|
| 586 | $output = executeQueryArray('widgets.content.getCategories',$obj); |
|
| 587 | if($output->toBool() && $output->data) |
|
| 588 | { |
|
| 589 | foreach($output->data as $key => $val) { |
|
| 590 | $category_lists[$val->module_srl][$val->category_srl] = $val; |
|
| 591 | } |
|
| 592 | } |
|
| 593 | ||
| 594 | $obj->module_srl = $args->module_srl; |
|
| 595 | $obj->sort_index = $args->order_target; |
|