- 7.2. Opt_View class
7.2.1. __construct() - 7.2. Opt_View class
« Previous - 7.2.2. __get()
Next »
7.2.1. __construct()
| Construct | Class constructor |
|---|---|
| Reference | __construct([string $template]) |
This the view constructor. We may assign the template file to it during the initialization or do it later:
$view1 = new Opt_View('foo.tpl'); $view2 = new Opt_View; $view2->setTemplate('bar.tpl');
See also:
- 7.2.1. __construct()
7.2. Opt_View class - « Previous
7.2. Opt_View class - Next »
7.2.2. __get()