Rev 30 | Rev 51 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 30 | Rev 43 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | *
|
55 | *
|
56 | * @param string $viewClass
|
56 | * @param string $viewClass
|
57 | * View class. The default is <code>'View'</code>.
|
57 | * View class. The default is <code>'View'</code>.
|
58 | * @param string $template
|
58 | * @param string $template
|
59 | * Resource path of the template for the view. The default
|
59 | * Resource path of the template for the view. The default
|
- | 60 | * is to <code>null</code> (no template).
|
|
- | 61 | *
|
|
60 | * is the empty string.
|
62 | * @see View::__construct()
|
61 | */
|
63 | */
|
62 | protected function __construct($viewClass = 'View', $template = null) |
64 | protected function __construct($viewClass = 'View', $template = null) |
63 | {
|
65 | {
|
64 | $this->_view = new $viewClass($template); |
66 | $this->_view = new $viewClass($template); |
65 | 67 |