A Slight Doubt.

I am a complete newbie in the world of yii and doing my best to learn the framework as best as I can, while reading the book I came across :


I want to know why do we use :projectId why not directly projectId? What does the ‘:’ stand for?

I am sorry if this question sounds stupid. Any answer would be highly appreciated.


In condition we are using projectId,instead of $this->_project->id,it will get projectId in condition from parameter,

& for assigning value to parameter,we have syntax like :projectId in yii.