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:
ovclas 2012-10-29 09:09:12 +00:00
parent 575f06afed
commit 75a56b8366
3 changed files with 73 additions and 10 deletions

View file

@ -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