mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
issue 77 Remove PHP 5.3.x deprecated features
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8599 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3fe79a4d1c
commit
61e00415d6
16 changed files with 42 additions and 40 deletions
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
$requestMethod = Context::getRequestMethod();
|
||||
Context::setResponseMethod('HTML');
|
||||
$oWidgetController->triggerWidgetCompile(&$page_content);
|
||||
$oWidgetController->triggerWidgetCompile($page_content);
|
||||
Context::setResponseMethod($requestMethod);
|
||||
|
||||
$oModule->add('page_content',$page_content);
|
||||
|
|
|
|||
|
|
@ -45,7 +45,9 @@
|
|||
if($this->module_srl) Context::set('module_srl',$this->module_srl);
|
||||
|
||||
$page_type_name = strtolower($this->module_info->page_type);
|
||||
$page_content = call_user_method('_get'.ucfirst($page_type_name).'Content', &$this);
|
||||
$method = '_get' . ucfirst($page_type_name) . 'Content';
|
||||
if (method_exists($this, $method)) $page_content = $this->{$method}();
|
||||
else return new Object(-1, sprintf('%s method is not exists', $method));
|
||||
|
||||
Context::set('module_info', $this->module_info);
|
||||
Context::set('page_content', $page_content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue