mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
NOISSUE remove reference operator.
This commit is contained in:
parent
35384999c9
commit
194ce8614a
118 changed files with 859 additions and 859 deletions
|
|
@ -75,7 +75,7 @@ class trashAdminController extends trash
|
|||
*/
|
||||
function _relationDataDelete($isAll, &$trashSrls)
|
||||
{
|
||||
$oTrashModel = &getModel('trash');
|
||||
$oTrashModel = getModel('trash');
|
||||
if($isAll == 'true')
|
||||
{
|
||||
$output = $oTrashModel->getTrashAllList(array());
|
||||
|
|
@ -115,7 +115,7 @@ class trashAdminController extends trash
|
|||
$classFile = FileHandler::getRealPath($classFile);
|
||||
if(!file_exists($classFile)) return new Object(-1, 'not exist restore module class file');
|
||||
|
||||
$oAdminController = &getAdminController($oTrashVO->getOriginModule());
|
||||
$oAdminController = getAdminController($oTrashVO->getOriginModule());
|
||||
if(!method_exists($oAdminController, 'emptyTrash')) return new Object(-1, 'not exist restore method in module class file');
|
||||
|
||||
$output2 = $oAdminController->emptyTrash($oTrashVO->getSerializedObject());
|
||||
|
|
@ -142,7 +142,7 @@ class trashAdminController extends trash
|
|||
// eache restore method call in each classfile
|
||||
foreach($trashSrlList as $value)
|
||||
{
|
||||
$oTrashModel = &getModel('trash');
|
||||
$oTrashModel = getModel('trash');
|
||||
$output = $oTrashModel->getTrash($value);
|
||||
if(!$output->toBool()) return new Object(-1, $output->message);
|
||||
|
||||
|
|
@ -154,7 +154,7 @@ class trashAdminController extends trash
|
|||
$classFile = FileHandler::getRealPath($classFile);
|
||||
if(!file_exists($classFile)) return new Object(-1, 'not exist restore module class file');
|
||||
|
||||
$oAdminController = &getAdminController($output->data->getOriginModule());
|
||||
$oAdminController = getAdminController($output->data->getOriginModule());
|
||||
if(!method_exists($oAdminController, 'restoreTrash')) return new Object(-1, 'not exist restore method in module class file');
|
||||
|
||||
$originObject = unserialize($output->data->getSerializedObject());
|
||||
|
|
@ -193,7 +193,7 @@ class trashAdminController extends trash
|
|||
|
||||
if(count($trashSrlList) > 0)
|
||||
{
|
||||
$oTrashModel = &getModel('trash');
|
||||
$oTrashModel = getModel('trash');
|
||||
$args = new stdClass();
|
||||
$args->trashSrl = $trashSrlList;
|
||||
$output = $oTrashModel->getTrashList($args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue