src/TextContent/BlogController.php 1 location
|
@@ 33-39 (lines=7) @@
|
30 |
|
* |
31 |
|
* @Return Void |
32 |
|
*/ |
33 |
|
public function initialize(){ |
34 |
|
if(!is_object($this->di)) |
35 |
|
throw new \Anax\Exception\InternalServerErrorException('"$this->di" is not valid!'); |
36 |
|
|
37 |
|
$this->content = new \Chp\TextContent\Content(); |
38 |
|
$this->content->setDI($this->di); |
39 |
|
} |
40 |
|
|
41 |
|
/** |
42 |
|
* Index action - uses tagAction whitout tag |
src/TextContent/PageController.php 1 location
|
@@ 32-38 (lines=7) @@
|
29 |
|
* |
30 |
|
* @Return Void |
31 |
|
*/ |
32 |
|
public function initialize(){ |
33 |
|
if(!is_object($this->di)) |
34 |
|
throw new \Anax\Exception\InternalServerErrorException('"$this->di" is not valid!'); |
35 |
|
|
36 |
|
$this->content = new \Chp\TextContent\Content(); |
37 |
|
$this->content->setDI($this->di); |
38 |
|
} |
39 |
|
|
40 |
|
/** |
41 |
|
* Index content - Redirect to startpage |