mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
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:
parent
ff75082eee
commit
8a7c28babc
90 changed files with 572 additions and 83 deletions
|
|
@ -51,7 +51,7 @@ class mcontent extends WidgetHandler
|
|||
// Apply to all modules in the site if a target module is not specified
|
||||
if(!$args->module_srls)
|
||||
{
|
||||
unset($obj);
|
||||
$obj = new stdClass();
|
||||
$obj->site_srl = (int)$site_module_info->site_srl;
|
||||
$output = executeQueryArray('widgets.content.getMids', $obj);
|
||||
if($output->data)
|
||||
|
|
@ -208,6 +208,7 @@ class mcontent extends WidgetHandler
|
|||
// Get model object of the document module and make the result as an object
|
||||
$oDocumentModel = &getModel('document');
|
||||
// Get categories
|
||||
$obj = new stdClass();
|
||||
$obj->module_srl = $args->module_srl;
|
||||
$output = executeQueryArray('widgets.content.getCategories',$obj);
|
||||
if($output->toBool() && $output->data)
|
||||
|
|
@ -622,6 +623,7 @@ class mcontent extends WidgetHandler
|
|||
{
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
// Set variables for widget
|
||||
$widget_info = new stdClass();
|
||||
$widget_info->modules_info = $args->modules_info;
|
||||
$widget_info->option_view_arr = $args->option_view_arr;
|
||||
$widget_info->list_count = $args->list_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue