Hello. I need to use renderdynamic in Yii2 but there is no examples of use. Specially I need examples of use by trying to call a method on the controller in order to render "freshly" the content on that controller.
In Yii1:
controller:
public function renderTracking($params = [])
{
return date("Ymd His");
}
view:
$this->renderDynamic('renderTracking', $params)