For a assignment I need to make a public property on a class.
So I did this :
<?php
class MessageController extends Controller
{
public $defaultAction = "hello" ;
var $theTime = date ( "D M j G:i:s T Y");
public function actionHello()
{
this->render('hello');
}
but now I see a blank screen.
What did I do wrong ?
Roelof
Edit 1: I use the Yii platform.
Edit 2: Where can I find info how I can make this class property the right way ?