mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Update trash.admin.view.php
This commit is contained in:
parent
775f68a31a
commit
c6eae3ba10
1 changed files with 27 additions and 0 deletions
|
|
@ -51,6 +51,33 @@ class trashAdminView extends trash
|
|||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('trash_list');
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Trash View - sejin7940
|
||||
function dispTrashAdminView()
|
||||
{
|
||||
$trash_srl = Context::get('trash_srl');
|
||||
|
||||
$oTrashModel = getModel('trash');
|
||||
$output = $oTrashModel->getTrash($trash_srl);
|
||||
if(!$output->data->trash_srl) return new Object(-1, 'msg_invalid_request');
|
||||
|
||||
$originObject = unserialize($output->data->getSerializedObject());
|
||||
if(is_array($originObject)) $originObject = (object)$originObject;
|
||||
|
||||
Context::set('oTrashVO',$output->data);
|
||||
Context::set('oOrigin',$originObject);
|
||||
|
||||
if($originObject) {
|
||||
$args_extra->module_srl = $originObject->module_srl;
|
||||
$args_extra->document_srl = $originObject->document_srl;
|
||||
$output_extra = executeQueryArray('trash.getDocumentExtraVars', $args_extra);
|
||||
Context::set('oOriginExtraVars',$output_extra->data);
|
||||
}
|
||||
$this->setTemplateFile('trash_view');
|
||||
}
|
||||
|
||||
}
|
||||
/* End of file trash.admin.view.php */
|
||||
/* Location: ./modules/trash/trash.admin.view.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue