issue 2119. supporting php 5.4. modules and widgets.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12706 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2013-02-05 09:45:04 +00:00
parent ff75082eee
commit 8a7c28babc
90 changed files with 572 additions and 83 deletions

View file

@ -193,6 +193,7 @@ class trashAdminController extends trash
if(count($trashSrlList) > 0)
{
$oTrashModel = &getModel('trash');
$args = new stdClass();
$args->trashSrl = $trashSrlList;
$output = $oTrashModel->getTrashList($args);
$trashList = $output->data;
@ -215,6 +216,7 @@ class trashAdminController extends trash
function _emptyTrash($trashSrls)
{
if(!is_array($trashSrls)) return false;
$args = new stdClass();
$args->trashSrls = $trashSrls;
$output = executeQuery('trash.deleteTrash', $args);
if(!$output->toBool()) return false;

View file

@ -26,6 +26,7 @@ class trashAdminView extends trash
*/
function dispTrashAdminList()
{
$args = new stdClass();
$args->page = Context::get('page'); // /< Page
$args->list_count = 30; // /< the number of posts to display on a single page
$args->page_count = 5; // /< the number of pages that appear in the page navigation

View file

@ -20,6 +20,7 @@ class trashModel extends trash
$oTrashVO = new TrashVO();
if(!$trashSrl) return $oTrashVO;
$args = new stdClass();
$args->trashSrl = $trashSrl;
$output = executeQuery('trash.getTrash', $args, $columnList);