mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
issue 2637 empty trash bug fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11946 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
575f06afed
commit
75a56b8366
3 changed files with 73 additions and 10 deletions
|
|
@ -51,6 +51,28 @@ class trashModel extends trash
|
|||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get TrashVO all list
|
||||
* @param object $args
|
||||
* @param array $columnList
|
||||
* @return object
|
||||
*/
|
||||
function getTrashAllList($args, $columnList = array())
|
||||
{
|
||||
$output = executeQueryArray('trash.getTrashAllList', $args, $columnList);
|
||||
|
||||
if(is_array($output->data))
|
||||
{
|
||||
foreach($output->data AS $key=>$value)
|
||||
{
|
||||
$oTrashVO = new TrashVO();
|
||||
$this->_setTrashObject($oTrashVO, $value);
|
||||
$output->data[$key] = $oTrashVO;
|
||||
}
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set trash object from std object
|
||||
* @param TrashVO $oTrashVO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue