mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +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);
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ class trashAdminView extends trash
|
|||
$output = $oTrashModel->getTrashList($args);
|
||||
|
||||
// for no text comment language and for document manange language
|
||||
$oCommentModel = &getModel('comment');
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oCommentModel = getModel('comment');
|
||||
$oDocumentModel = getModel('document');
|
||||
|
||||
Context::set('trash_list', $output->data);
|
||||
Context::set('total_count', $output->total_count);
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class trash extends ModuleObject
|
|||
function checkUpdate()
|
||||
{
|
||||
//$oDB = &DB::getInstance();
|
||||
//$oModuleModel = &getModel('module');
|
||||
//$oModuleModel = getModel('module');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
@ -40,7 +40,7 @@ class trash extends ModuleObject
|
|||
function moduleUpdate()
|
||||
{
|
||||
//$oDB = &DB::getInstance();
|
||||
//$oModuleModel = &getModel('module');
|
||||
//$oModuleModel = getModel('module');
|
||||
|
||||
return new Object(0,'success_updated');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue