\Piko\View\Event\BeforeRenderEvent

BeforeRenderEvent is an event triggered before view script rendering

Properties summary

Name Description
public $file The view script path
public $model The view script model
public $view  

Methods summary

Name Description
public __construct Constructor

Properties

public $file : string

The view script path

public $model : array<string,mixed>

The view script model

public $view : \Piko\View


Methods

public __construct(): mixed

public  __construct(\Piko\View  $view, string  $file, array&lt;string,mixed&gt;  $model = []): mixed

Parameters

$view : A view instance

$file : A view script path

$model (default: []): The view script model

Return:

mixed