NOISSUE remove reference operator.

This commit is contained in:
bnu 2013-12-30 17:35:02 +09:00
parent 35384999c9
commit 194ce8614a
118 changed files with 859 additions and 859 deletions

View file

@ -47,7 +47,7 @@ class content extends WidgetHandler
// markup options
if(!$args->markup_type) $args->markup_type = 'table';
// Set variables used internally
$oModuleModel = &getModel('module');
$oModuleModel = getModel('module');
$module_srls = $args->modules_info = $args->module_srls_info = $args->mid_lists = array();
$site_module_info = Context::get('site_module_info');
// List URLs if a type is RSS
@ -189,7 +189,7 @@ class content extends WidgetHandler
$obj->sort_index = $args->order_target;
$obj->list_count = $args->list_count * $args->page_count;
// Get model object of the comment module and execute getCommentList() method
$oCommentModel = &getModel('comment');
$oCommentModel = getModel('comment');
$output = $oCommentModel->getNewestCommentList($obj);
$content_items = array();
@ -222,7 +222,7 @@ class content extends WidgetHandler
function _getDocumentItems($args)
{
// Get model object from the document module
$oDocumentModel = &getModel('document');
$oDocumentModel = getModel('document');
// Get categories
$obj = new stdClass();
$obj->module_srl = $args->module_srl;
@ -298,7 +298,7 @@ class content extends WidgetHandler
function _getImageItems($args)
{
$oDocumentModel = &getModel('document');
$oDocumentModel = getModel('document');
$obj->module_srls = $obj->module_srl = $args->module_srl;
$obj->direct_download = 'Y';
@ -654,7 +654,7 @@ class content extends WidgetHandler
function _getTrackbackItems($args)
{
$oTrackbackModel = &getModel('trackback');
$oTrackbackModel = getModel('trackback');
if(!$oTrackbackModel)
{
return;

View file

@ -16,7 +16,7 @@ class counter_status extends WidgetHandler
function proc($args)
{
// Get status of the accumulated, yesterday's, today's counts
$oCounterModel = &getModel('counter');
$oCounterModel = getModel('counter');
$site_module_info = Context::get('site_module_info');
$output = $oCounterModel->getStatus(array('00000000', date('Ymd', $_SERVER['REQUEST_TIME']-60*60*24), date('Ymd')), $site_module_info->site_srl);

View file

@ -24,7 +24,7 @@ class login_info extends WidgetHandler
if(Context::get('is_logged')) $tpl_file = 'login_info';
else $tpl_file = 'login_form';
// Get the member configuration
$oModuleModel = &getModel('module');
$oModuleModel = getModel('module');
$this->member_config = $oModuleModel->getModuleConfig('member');
Context::set('member_config', $this->member_config);

View file

@ -33,7 +33,7 @@ class mcontent extends WidgetHandler
// markup options
if(!$args->markup_type) $args->markup_type = 'list';
// Set variables for internal use
$oModuleModel = &getModel('module');
$oModuleModel = getModel('module');
$module_srls = $args->modules_info = $args->module_srls_info = $args->mid_lists = array();
$site_module_info = Context::get('site_module_info');
// List URLs if a type is RSS
@ -175,7 +175,7 @@ class mcontent extends WidgetHandler
$obj->sort_index = $args->order_target;
$obj->list_count = $args->list_count;
// Get model object of the comment module getCommentList() method runs
$oCommentModel = &getModel('comment');
$oCommentModel = getModel('comment');
$output = $oCommentModel->getNewestCommentList($obj);
$content_items = array();
@ -208,7 +208,7 @@ class mcontent extends WidgetHandler
function _getDocumentItems($args)
{
// Get model object of the document module and make the result as an object
$oDocumentModel = &getModel('document');
$oDocumentModel = getModel('document');
// Get categories
$obj = new stdClass();
$obj->module_srl = $args->module_srl;
@ -269,7 +269,7 @@ class mcontent extends WidgetHandler
function _getImageItems($args)
{
$oDocumentModel = &getModel('document');
$oDocumentModel = getModel('document');
$obj = new stdClass();
$obj->module_srls = $obj->module_srl = $args->module_srl;
@ -595,7 +595,7 @@ class mcontent extends WidgetHandler
$obj->sort_index = $args->order_target;
$obj->list_count = $args->list_count;
// Get model object from the trackback module and execute getTrackbackList() method
$oTrackbackModel = &getModel('trackback');
$oTrackbackModel = getModel('trackback');
$output = $oTrackbackModel->getNewestTrackbackList($obj);
// If an error occurs, just ignore it.
if(!$output->toBool() || !$output->data) return;