src/Page/PageRender.php 1 location
|
@@ 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. |
src/Page/PageRenderMock.php 1 location
|
@@ 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. |