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


PHP atksession函数代码示例

本文整理汇总了PHP中atksession函数的典型用法代码示例。如果您正苦于以下问题:PHP atksession函数的具体用法?PHP atksession怎么用?PHP atksession使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: header

<?php

header("Content-Type: text/css");
$config_atkroot = "./";
include_once "atk.inc";
// dummy namespace. if we don't use dummy here, the session is corrupted
// because style.php is loaded between two dispatch.php calls.
atksession("dummy");
atksecure();
include_once "./theme.inc";
?>

BODY
{
  font-family: <?php 
echo $g_theme["FontFamily"];
?>
;
  font-size: <?php 
echo $g_theme["FontSize"];
?>
pt;
  font-weight: <?php 
echo $g_theme["FontWeight"];
?>
;
  background-color: <?php 
echo $g_theme["BgColor"];
?>
;
  color: <?php 
开发者ID:rezaul101,项目名称:erp32,代码行数:31,代码来源:style.php

示例2: atksession

 *
 * @author Ivo Jansch <ivo@achievo.org>
 * @author Peter C. Verhage <peter@ibuildings.nl>
 *
 * @copyright (c)2000-2004 Ibuildings.nl BV
 * @license http://www.achievo.org/atk/licensing ATK Open Source License
 *
 * @version $Revision$
 * $Id$
 */
/**
 * @internal includes
 */
$config_atkroot = "./";
include_once "atk.inc";
atksession();
atksecure();
require "theme.inc";
atkimport("atk.ui.atktheme");
$output =& atkOutput::getInstance();
$page =& atkinstance("atk.ui.atkpage");
$page->unregister_all_scripts();
$theme =& atkTheme::getInstance();
$ui =& atkinstance("atk.ui.atkui");
/* general menu stuff */
/* load menu layout */
atkimport("atk.menu.atkmenu");
$menu =& atkMenu::getMenu();
if (is_object($menu)) {
    $output->output($menu->render());
} else {
开发者ID:pipporazzo,项目名称:achievo,代码行数:31,代码来源:menu.php

示例3: moduleDir

 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Achievo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */
/* Setup the system */
$config_atkroot = "./";
include_once "atk.inc";
include_once "theme.inc";
include_once moduleDir("graph") . "jpgraph/jpgraph.php";
atksession("img", false);
atksecure();
// Create attribute.
$plottersource = $ATK_VARS["plotter"];
useattrib($plottersource);
list($module, $attribname) = explode(".", $plottersource);
$plotterclass = $attribname . "Plotter";
$res = false;
if (class_exists($plotterclass)) {
    // Since php does not support calling static methods
    // on a 'dynamic' class (where the name is inside a
    // variable), we use a companion plotter class to
    // plot stuff.
    $plotter = new $plotterclass();
    $res = $plotter->plot($ATK_VARS);
} else {
开发者ID:rezaul101,项目名称:erp32,代码行数:31,代码来源:graph.php


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