1
amjad
Re: Only variable references should be returned ????
  • 2008/5/14 7:19

  • amjad

  • Just popping in

  • Posts: 1

  • Since: 2008/5/14


i am facing problem when i am going executing
the give example of HMVC in php model the error message is

:Only variable references should be returned by reference:
and here is code

application/Conroller/test.php
<?php
class Test extends Controller {

function Test()
{
parent::Controller();
}

function index()
{


$this->load->helper('modules');
modules::run('modtest',true,'test');


// Load Module Helper
//$this->load->library("modules");

// Loading modules in a Controller
//$this->modules->load('fighters');
}
}
?>
and here is application/Module/fighters.php

<? class fighters extends Modules
{
function fighters()
{
parent::Modules();
}

function test()
{
echo "test";
}

}
?>


plz help




TopTop



Login

Who's Online

248 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 248


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits