コード例 #1
0
ファイル: DevCon.php プロジェクト: phperf/result-collector
    public function render()
    {
        ?>
        <!doctype html>
        <html>
        <head>
            <title>dev-con</title>
        </head>

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

        </body>
        </html>
    <?php 
    }
コード例 #2
0
ファイル: Layout.php プロジェクト: xiaoix/project-1
 public function isEmpty()
 {
     return !$this->main || $this->main->isEmpty();
 }
コード例 #3
0
ファイル: Layout.php プロジェクト: php-yaoi/php-yaoi
 public function push(Renderer $element)
 {
     $element->render();
     return $this;
 }