In my Controller I have a line like this:
$this->set('uid', Project::returnProjectUid($queryString));
Is this bad practice? Should I ALWAYS pass it to the Model which then calls this helper class or this an acceptable practice?
Thanks.
In my Controller I have a line like this:
$this->set('uid', Project::returnProjectUid($queryString));
Is this bad practice? Should I ALWAYS pass it to the Model which then calls this helper class or this an acceptable practice?
Thanks.