mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
for textyle trash function
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6405 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
acd9ed3f67
commit
cdeb3f36cc
2 changed files with 16 additions and 1 deletions
|
|
@ -469,7 +469,10 @@
|
|||
|
||||
function procDocumentAdminRestoreTrash() {
|
||||
$trash_srl = Context::get('trash_srl');
|
||||
$this->restoreTrash($trash_srl);
|
||||
}
|
||||
|
||||
function restoreTrash($trash_srl){
|
||||
$oDB = &DB::getInstance();
|
||||
|
||||
$trash_args->trash_srl = $trash_srl;
|
||||
|
|
@ -499,6 +502,7 @@
|
|||
|
||||
// commit
|
||||
$oDB->commit();
|
||||
return $output;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
11
modules/document/queries/getTrashByDocumentSrl.xml
Normal file
11
modules/document/queries/getTrashByDocumentSrl.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="getTrashByDocumentSrl" action="select">
|
||||
<tables>
|
||||
<table name="document_trash" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue