@@ 513-519 (lines=7) @@ | ||
510 | } |
|
511 | ||
512 | if($output->data) { |
|
513 | foreach($output->data as $key => $val) { |
|
514 | $val->id = $this->getID('article', $val->module_srl.'-'.$val->document_srl); |
|
515 | $val->deleted = date("Y-m-d\\TH:i:s", ztime($val->regdate)).$time_zone; |
|
516 | $val->alternative_href = getFullSiteUrl($this->uri_scheme . $this->site_url, '', 'document_srl', $val->document_srl); |
|
517 | $val->channel_id = $this->getID('channel', $val->module_srl.'-'.$val->document_srl); |
|
518 | $output->data[$key] = $val; |
|
519 | } |
|
520 | $result->list = $output->data; |
|
521 | } |
|
522 | return $result; |
|
@@ 530-536 (lines=7) @@ | ||
527 | $args = new stdClass; |
|
528 | $args->document_srl = $document_srl; |
|
529 | $output = executeQueryArray('syndication.getDeletedList', $args); |
|
530 | foreach($output->data as $key => $val) { |
|
531 | $val->id = $this->getID('article', $val->module_srl.'-'.$val->document_srl); |
|
532 | $val->deleted = date("Y-m-d\\TH:i:s", ztime($val->regdate)).$time_zone; |
|
533 | $val->alternative_href = getFullSiteUrl($this->uri_scheme . $this->site_url, '', 'document_srl', $val->document_srl); |
|
534 | $val->channel_id = $this->getID('channel', $val->module_srl.'-'.$val->document_srl); |
|
535 | $output->data[$key] = $val; |
|
536 | } |
|
537 | ||
538 | return $output->data; |
|
539 | } |