mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
NOISSUE remove reference operator.
This commit is contained in:
parent
35384999c9
commit
194ce8614a
118 changed files with 859 additions and 859 deletions
|
|
@ -24,7 +24,7 @@ class integration_searchAdminController extends integration_search
|
|||
function procIntegration_searchAdminInsertConfig()
|
||||
{
|
||||
// Get configurations (using module model object)
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('integration_search');
|
||||
|
||||
$args->skin = Context::get('skin');
|
||||
|
|
@ -33,7 +33,7 @@ class integration_searchAdminController extends integration_search
|
|||
if(!$args->target_module_srl) $args->target_module_srl = '';
|
||||
$args->skin_vars = $config->skin_vars;
|
||||
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController = getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('integration_search',$args);
|
||||
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispIntegration_searchAdminContent');
|
||||
|
|
@ -48,7 +48,7 @@ class integration_searchAdminController extends integration_search
|
|||
function procIntegration_searchAdminInsertSkin()
|
||||
{
|
||||
// Get configurations (using module model object)
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('integration_search');
|
||||
|
||||
$args->skin = $config->skin;
|
||||
|
|
@ -114,7 +114,7 @@ class integration_searchAdminController extends integration_search
|
|||
// Serialize and save
|
||||
$args->skin_vars = serialize($obj);
|
||||
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController = getController('module');
|
||||
$output = $oModuleController->insertModuleConfig('integration_search',$args);
|
||||
|
||||
$this->setMessage('success_updated', 'info');
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class integration_searchAdminView extends integration_search
|
|||
function init()
|
||||
{
|
||||
// Get configurations (using module model object)
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
$this->config = $oModuleModel->getModuleConfig('integration_search');
|
||||
Context::set('config',$this->config);
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ class integration_searchAdminView extends integration_search
|
|||
function dispIntegration_searchAdminContent()
|
||||
{
|
||||
// Get a list of skins(themes)
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
$skin_list = $oModuleModel->getSkins($this->module_path);
|
||||
Context::set('skin_list',$skin_list);
|
||||
// Get a list of module categories
|
||||
|
|
@ -75,7 +75,7 @@ class integration_searchAdminView extends integration_search
|
|||
*/
|
||||
function dispIntegration_searchAdminSkinInfo()
|
||||
{
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $this->config->skin);
|
||||
$skin_vars = unserialize($this->config->skin_vars);
|
||||
// value for skin_info extra_vars
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class integration_search extends ModuleObject
|
|||
function moduleInstall()
|
||||
{
|
||||
// Registered in action forward
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->insertActionForward('integration_search', 'view', 'IS');
|
||||
|
||||
return new Object();
|
||||
|
|
@ -28,7 +28,7 @@ class integration_search extends ModuleObject
|
|||
*/
|
||||
function checkUpdate()
|
||||
{
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('integration_search');
|
||||
|
||||
if($config->skin)
|
||||
|
|
@ -50,7 +50,7 @@ class integration_search extends ModuleObject
|
|||
*/
|
||||
function moduleUpdate()
|
||||
{
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleModel = getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('message');
|
||||
|
||||
if($config->skin)
|
||||
|
|
@ -62,7 +62,7 @@ class integration_search extends ModuleObject
|
|||
if(is_dir($template_path))
|
||||
{
|
||||
$config->skin = implode('|@|', $config_parse);
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->updateModuleConfig('integration_search', $config);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ class integration_searchModel extends module
|
|||
$args->statusList = array('PUBLIC');
|
||||
if(!$args->module_srl) unset($args->module_srl);
|
||||
// Get a list of documents
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oDocumentModel = getModel('document');
|
||||
|
||||
return $oDocumentModel->getDocumentList($args);
|
||||
}
|
||||
|
|
@ -97,7 +97,7 @@ class integration_searchModel extends module
|
|||
$args->sort_index = 'list_order';
|
||||
$args->order_type = 'asc';
|
||||
// Get a list of documents
|
||||
$oCommentModel = &getModel('comment');
|
||||
$oCommentModel = getModel('comment');
|
||||
$output = $oCommentModel->getTotalCommentList($args);
|
||||
if(!$output->toBool()|| !$output->data) return $output;
|
||||
return $output;
|
||||
|
|
@ -117,7 +117,7 @@ class integration_searchModel extends module
|
|||
*/
|
||||
function getTrackbacks($target, $module_srls_list, $search_target = "title", $search_keyword, $page=1, $list_count = 20)
|
||||
{
|
||||
$oTrackbackModel = &getAdminModel('trackback');
|
||||
$oTrackbackModel = getAdminModel('trackback');
|
||||
if(!$oTrackbackModel) return new Object();
|
||||
$args = new stdClass();
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ class integration_searchModel extends module
|
|||
$args->isvalid = 'Y';
|
||||
$args->direct_download = $direct_download=='Y'?'Y':'N';
|
||||
// Get a list of documents
|
||||
$oFileAdminModel = &getAdminModel('file');
|
||||
$oFileAdminModel = getAdminModel('file');
|
||||
$output = $oFileAdminModel->getFileList($args);
|
||||
if(!$output->toBool() || !$output->data) return $output;
|
||||
|
||||
|
|
@ -212,7 +212,7 @@ class integration_searchModel extends module
|
|||
}
|
||||
$output->data = $list;
|
||||
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oDocumentModel = getModel('document');
|
||||
$document_list = $oDocumentModel->getDocuments($target_list);
|
||||
if($document_list) foreach($document_list as $key => $val)
|
||||
{
|
||||
|
|
@ -227,7 +227,7 @@ class integration_searchModel extends module
|
|||
}
|
||||
}
|
||||
|
||||
$oCommentModel = &getModel('comment');
|
||||
$oCommentModel = getModel('comment');
|
||||
$comment_list = $oCommentModel->getComments($target_list);
|
||||
if($comment_list) foreach($comment_list as $key => $val)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ class integration_searchView extends integration_search
|
|||
*/
|
||||
function IS()
|
||||
{
|
||||
$oFile = &getClass('file');
|
||||
$oModuleModel = &getModel('module');
|
||||
$oFile = getClass('file');
|
||||
$oModuleModel = getModel('module');
|
||||
// Check permissions
|
||||
if(!$this->grant->access) return new Object(-1,'msg_not_permitted');
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ class integration_searchView extends integration_search
|
|||
// Create integration search model object
|
||||
if($is_keyword)
|
||||
{
|
||||
$oIS = &getModel('integration_search');
|
||||
$oIS = getModel('integration_search');
|
||||
switch($where)
|
||||
{
|
||||
case 'document' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue