I have following code in my php class called Plaint:
class Plaint extends CAction
{
public function run()
{
$model = new PlaintForm();
$this->runTests($model);
...........
I need to run this class without($this->runTests($model)), if enter from this url /plaint
. If I enter this page from other url, I need to run $this->runTests($model);
.(e.g /filled
). How can I do it?