Comparing
#4 with
#6
Content
[...]
public function render($view, $data = null, $return = false)
{
if ($this->beforeRender())
{
parent::render($view, $data = null, $return
= false);
}
}[...]
I hope you enjoyed the read. Feel free to share your thoughts - thank you.
> HintTip: Since the two classes `ParentController` and `ExtendedCController` are no real controllers (they only function as parent-classes), you have to put them into the components folder (eg `protected/components`).