本文整理汇总了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();
}
示例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();
}
}
示例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();
}
}
示例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();
}
示例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();