| @@ 43-50 (lines=8) @@ | ||
| 40 | /** |
|
| 41 | * Render a standard web page using a specific layout. |
|
| 42 | */ |
|
| 43 | public function viewify($views) |
|
| 44 | { |
|
| 45 | foreach ($views as $views) { |
|
| 46 | foreach ($this->add($views) as $view) { |
|
| 47 | $this->di->get("view")->add($view["view"], $view["content"], $view["region"]); |
|
| 48 | } |
|
| 49 | } |
|
| 50 | } |
|
| 51 | ||
| 52 | /** |
|
| 53 | * Render a standard web page using a specific layout. |
|
| @@ 43-50 (lines=8) @@ | ||
| 40 | /** |
|
| 41 | * Render a standard web page using a specific layout. |
|
| 42 | */ |
|
| 43 | public function viewify($views) |
|
| 44 | { |
|
| 45 | foreach ($views as $views) { |
|
| 46 | foreach ($this->add($views) as $view) { |
|
| 47 | $this->di->get("view")->add($view["view"], $view["content"], $view["region"]); |
|
| 48 | } |
|
| 49 | } |
|
| 50 | } |
|
| 51 | ||
| 52 | /** |
|
| 53 | * Render a standard web page using a specific layout. |
|