当前位置: 首页>>代码示例>>PHP>>正文


PHP Skin::close方法代码示例

本文整理汇总了PHP中Skin::close方法的典型用法代码示例。如果您正苦于以下问题:PHP Skin::close方法的具体用法?PHP Skin::close怎么用?PHP Skin::close使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Skin的用法示例。


在下文中一共展示了Skin::close方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: draw

 public function draw()
 {
     $main = new Skin("installer");
     $head = new Skinlet("frame-public-head");
     $main->setContent("head", $head->get());
     $header = new Skinlet("header");
     $main->setContent("header", $header->get());
     $body = new Skinlet("installer_databaseform");
     $main->setContent("body", $body->get());
     $footer = new Skinlet("footer");
     $main->setContent("footer", $footer->get());
     $main->close();
 }
开发者ID:patriziopezzilli,项目名称:Fusion,代码行数:13,代码来源:installerDatabaseFormState.php

示例2: updateOutput

 public function updateOutput()
 {
     if ($this->validData) {
         header('Location: install_complete.php');
     } else {
         $main = new Skin("installer");
         $head = new Skinlet("frame-public-head");
         $main->setContent("head", $head->get());
         $header = new Skinlet("header");
         $main->setContent("header", $header->get());
         $body = new Skinlet("installer_template");
         $main->setContent("body", $body->get());
         $footer = new Skinlet("footer");
         $main->setContent("footer", $footer->get());
         $main->close();
     }
 }
开发者ID:patriziopezzilli,项目名称:Fusion,代码行数:17,代码来源:installerTemplateState.php

示例3: updateOutput

 public function updateOutput()
 {
     if ($this->validData) {
         header('location: install_complete.php');
     } else {
         $main = new Skin("system");
         $head = new Skinlet("frame-private-head");
         $main->setContent("head", $head->get());
         $header = new Skinlet("header");
         $header->setContent("webApp", 'Installing');
         $main->setContent("header", $header->get());
         $body = new Skinlet("installer_admin");
         $main->setContent("body", $body->get());
         $menu = new Skinlet("menu_installer");
         $footer = new Skinlet("footer");
         $menu->setContent('footer', $footer->get());
         $main->setContent("menu", $menu->get());
         $main->close();
     }
 }
开发者ID:patriziopezzilli,项目名称:Fusion,代码行数:20,代码来源:installerAdminState.php

示例4: updateOutput

 public function updateOutput()
 {
     $main = new Skin("system");
     $head = new Skinlet("frame-private-head");
     $main->setContent("head", $head->get());
     $header = new Skinlet("header");
     $header->setContent('webApp', 'Installing');
     $main->setContent("header", $header->get());
     $menu = new Skinlet('menu_installer');
     $footer = new Skinlet("footer");
     $menu->setContent("footer", $footer->get());
     $main->setContent('menu', $menu->get());
     if ($this->validData) {
         $body = new Skinlet("installer_databaseform");
     } else {
         $body = new Skinlet("installer_init");
     }
     $main->setContent("body", $body->get());
     $main->close();
 }
开发者ID:patriziopezzilli,项目名称:Fusion,代码行数:20,代码来源:installerInitState.php

示例5: Skin

<?php

session_start();
require "include/template2.inc.php";
require "include/beContent.inc.php";
require "include/content.inc.php";
if (!$_SESSION['username']) {
    $main = new Skin("nevia");
} else {
    $main = new Skin("loggato");
}
$generic = new Content($genEntity);
$generic->setTemplate("comearrivare");
$generic->setParameter("id", 2);
$main->setContent("body", $generic->get());
$main->close();
开发者ID:stefanocortellessa,项目名称:VisitAQ,代码行数:16,代码来源:comearrivare.php


注:本文中的Skin::close方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。