本文整理匯總了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();