For php version 5.3. This line is working fine.
<?php echo CController::createUrl('/Reload/data')?>
But when I updated my php to 5.4. I am getting
Non-static method CController::createUrl() should not be called statically, assuming $this from incompatible context
What should I have to do to make it work in yii?