Esempio n. 1
0
    public function render()
    {
        ?>
        <!doctype html>
        <html>
        <head>
            <title>dev-con</title>
        </head>

        <body>
        <?php 
        $this->body->render();
        ?>

        </body>
        </html>
    <?php 
    }
Esempio n. 2
0
 public function isEmpty()
 {
     return !$this->main || $this->main->isEmpty();
 }
Esempio n. 3
0
 public function push(Renderer $element)
 {
     $element->render();
     return $this;
 }