C
C
ColdSpirit2015-07-09 23:08:29
Yii
ColdSpirit, 2015-07-09 23:08:29

Why can't I override renderPartial?

Hello. I want to override the renderPartial method in the Controller class, I write the following code:

public function renderPartial($view, $data = null, $return = false, $processOutput = false)
{
        parent::renderPartial($view, $data, $return, $processOutput);
}

after that, the content of the page stops loading, why is that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander David, 2015-07-09
@ColdSpirit

probably the same (return)

return parent::renderPartial($view, $data, $return, $processOutput);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question