本文整理汇总了PHP中Import::uber方法的典型用法代码示例。如果您正苦于以下问题:PHP Import::uber方法的具体用法?PHP Import::uber怎么用?PHP Import::uber使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Import
的用法示例。
在下文中一共展示了Import::uber方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: TweenBlur
<?php
echo Import::uber("client/werm/efx/effects/NewEffect.php");
?>
<script>
var TweenBlur_cls = NewEffect.extend({
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Init var
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//------------------------------------------------------------------------
//Number
//------------------------------------------------------------------------
blur:undefined,
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//static
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
from:function(_master_init, _dur_init, _obj_init) {
return new TweenBlur().preStart.apply(null, arguments.concat("from"));
},
//------------------------------------------------------------------------
to:function(_master_init, _dur_init, _obj_init) {
return new TweenBlur().preStart.apply(null, arguments.concat("to"));
},
//-------------------------------------------------------------------------------------------------------------------
start:function() {
var blurElement = {blur:(this.callFunction == "to") ? 0: this.blur};
TweenLite.to(blurElement, 1, {blur:(this.callFunction == "to") ? this.blur: 0, onUpdate:$.proxy(this.onUpdate_handler, this), onUpdateParams:[blurElement]});
示例2: center
<?php
Import::modules("formBuilder/FormBuilder_v0.php");
Import::uber("client/werm/fonts/Oswald.php");
Import::modules("preloader/Preloader_v2.php");
?>
<style>
.form_v15 > .formBuilder_v0 {
height:100%;
}
.form_v15 .preloader_v2 {
@include center();
}
</style>
<script type="text/javascript">
var Form_v15 = Base.extend({
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//private var
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------
//Boolean
//---------------------------------------------------------
showCancel:true,
//---------------------------------------------------------
//String
//---------------------------------------------------------
classID:"Form_v15",
//---------------------------------------------------------
//Numbere
示例3:
<?php
echo Import::uber("client/werm/macys/Project_Base.php");
?>
<style>
.failed {
text-align:center;
color:#fff;
padding:5px;
box-sizing:border-box;
-moz-box-sizing:border-box;
width:100%;
height:100%;
word-break:break-all;
font-size:12px;
overflow:auto;
}
</style>
<script>
var Project_Dynamic = Project_Base.extend({
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//init var
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------
//Boolean
//---------------------------------------------------------
assPath:undefined,
//---------------------------------------------------------
//String
示例4:
<?php
echo Import::uber("client/werm/efx/effects/Particles.php");
echo Import::uber("global/svg/Particle_v0_svg.php");
echo Import::uber("client/werm/efx/effects/BlurFilter.php");
?>
<style>
#main {
width:300px;
height:300px;
overflow:hidden;
border:1px solid black;
position:relative;
background:#fff;
}
.particles {
width:300px;
height:300px;
}
body {
background:red;
}
</style>
<script>
var Main = Class.extend({
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//private var
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------
示例5:
<?php
Import::uber("client/werm/macys/Project_Dynamic.php");
?>
<script id = "Item" type = "Mustache">
<div class="item item_{{index}}">
<img src = {{product}} class = "item_img ">
<div class="txtbox">
<div class="txtbox_inner">
<div class="line Descrip">{{{descrip}}}</div>
<div class="line Note">{{{note}}}</div>
</div>
</div>
</div>
</script>
<script>
var STWD_bf = Project_Dynamic.extend({
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//private var
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------
//Array
//---------------------------------------------------------
failed:undefined,
//---------------------------------------------------------
//$elm
//---------------------------------------------------------
$items:undefined,
$cta:undefined,
示例6: basename
<link rel="stylesheet" href="<?php
echo GenFun::get_full_url(dirname(__FILE__) . "/");
?>
index.css">
<title><?php
echo basename($example_root);
?>
</title>
<?php
Import::uber("default_import.php");
//------------------------------------------------
$result = StringUtil::replaceOverlap($example_root, Import::$uber_src_path, "");
$result = str_replace("examples/", "", $result["result"][0]);
$result = StringUtil::str_lreplace("/", "", $result) . ".php";
if (file_exists(Import::$uber_src_path . "client/" . $result)) {
Import::uber("client/" . $result);
}
//------------------------------------------------
Import::css(array("index.css", "index.scss"), ["notExistException" => false, "wUber" => false]);
} else {
if ($_POST["comb"] == "post") {
if (file_exists($example_root . "ProjectGlobalJS.php")) {
Import::current("ProjectGlobalJS.php");
}
?>
</head>
<!--===================================================================-->
<body>
<div id = "main">
<?php
}
示例7:
<?php
Import::modules("deleteBoard/DeleteBoard_v0.php");
Import::modules("inputAction/InputAction_v0_0.php");
Import::modules("form/Form_v10.php");
Import::uber("client/werm/efx/styles/Style_v0.php");
?>
<!--===================================================================-->
<!--===================================================================-->
<!--javascript-->
<!--===================================================================-->
<!--===================================================================-->
<script type="text/javascript">
var DeleteBoard_v0_2 = DeleteBoard_v0.extend({
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//private var
///////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------
//Function
//---------------------------------------------------------
email_onActivated:undefined,
onUpdate:undefined,
//---------------------------------------------------------
//Number
//---------------------------------------------------------
itemMaskRatio:.45,
limit:undefined,
optionWidthRatio:.2,
optionWidth:undefined,
示例8:
//------------------------------------------------------------------------>
Import::js("client/greensock/minified/plugins/CSSPlugin.min.js");
Import::js("client/greensock/minified/plugins/ScrollToPlugin.min.js");
Import::js("client/greensock/minified/easing/EasePack.min.js");
Import::js("client/greensock/minified/TweenLite.min.js");
Import::js("client/ejohn/Class.js");
Import::js("client/modernizer/modernizer.js");
Import::js("client/jquery/jquery-1.8.2.min.js");
Import::js("client/jquery/jquery.easing.1.3.js");
Import::js("client/jquery/ui/jquery-ui.min.js");
Import::css("client/jquery/ui/jquery-ui.min.css", ["concat" => ""]);
Import::js("client/jquery/jquery.tmpl.js");
Import::js("client/jquery/jquery.address-1.5.min.js");
Import::js("client/jquery/jquery.mobile.custom.min.js");
Import::js("client/jquery/jquery.stringify.js");
Import::js("client/jquery/jquery.ba-resize.min.js");
Import::js("client/jquery/jquery.xdomainrequest.min.js");
Import::js("client/jquery/date.format.js");
Import::js("client/jquery/fastclick.js");
//------------------------------------------------------------------------>
Import::cUtils("Trace.php");
Import::modules("base/Base.php");
Import::cUtils("BrowserDetect.php");
Import::cUtils("Visibility.php");
Import::cUtils("Align.php");
Import::uber("global/js/Global.php");
Import::uber("client/werm/efx/TweenEngine.php");
//------------------------------------------------------------------------>
?>
示例9: die
<?php
if (!isset($_POST['werm'])) {
die("ERROR: POST['werm']['id'] must be set!!!!");
}
?>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TimelineLite.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.2.0/mustache.js"></script>
<?php
Import::css("Reset.css");
?>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/plugins/CSSPlugin.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/easing/EasePack.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenLite.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.1.6/zepto.js"></script>
<script src="https://s0.2mdn.net/ads/studio/Enabler.js"> </script>
<?php
Import::js("client/ejohn/Class.js");
Import::uber("client/werm/efx/TweenEngine.php");
Import::js("client/zepto/data.js");
Import::cUtils("Trace.php");
Import::macys("Project_Dynamic.php");
Import::svg("Macys_svg.php");
Import::uber("global/js/Global.php");
Import::css("index.css", ['wUber' => false]);
?>
示例10: init
<html>
<!--===================================================================-->
<!--===================================================================-->
<!--header-->
<!--===================================================================-->
<!--===================================================================-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>checkbox_v0</title>
<!--===============================================================-->
<?php
Import::uber("default_import.php");
?>
<!--===============================================================-->
<?php
Import::uber("Import.php");
?>
<!--===============================================================-->
<?php
Import::modules("checkbox/Checkbox_v0.php");
?>
<!--===============================================================-->
<script type="text/javascript" src="Main.js"></script>
<!--===============================================================-->
<script type="text/javascript">
$.mobile.loadingMessage = false;
$(document).ready(init);
function init() {
Trace.externalCall = true;
obj = new Main();
Trace.register(obj, "main");
示例11: FileUploader
Import::services('FileUploader.php');
//--------------------------------------------------------------------
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!--===============================================================-->
<title>Form_v14</title>
<!--===============================================================-->
<?php
Import::uber("default_import.php");
Import::modules("form/Form_v14.php");
Import::cUtils("SetImgMin.php");
Import::uber("post_import.php");
//--------------------------------------------------------------------
GenFun::hostConnect();
$fileUploader = new FileUploader();
$files = $fileUploader->getFiles(false);
//--------------------------------------------------------------------
if (!$files['bool']) {
die(krumo($files));
}
?>
<!--===============================================================-->
<script type="text/javascript" src="Main.js"></script>
<script type="text/javascript">
$.mobile.loadingMessage = false;
$(document).ready(init);
function init() {
示例12:
<?php
echo Import::modules("mouseObjectSlide/MouseObjectSlide_v0_0_0.php");
echo Import::uber("client/werm/macys/Cta_0.php");
?>
<script id = "RTW_728x90_DDPurple0815_expand" type="text/x-jQuery-tmpl">
<div class = "expand content">
<div class = "rect rect_0"></div>
<div class = "rect rect_1"></div>
<div id = "macysLogo"></div>
<div class="lockup"></div>
<div data-exitName = "main" class="exit"></div>
<div class="closeBut">X</div>
</div>
</script>
<style>
.expand {
width:728px;
height:300px;
position:absolute;
background:white;
box-sizing:border-box;
border:1px solid #000;
top:0;
overflow:hidden;
}
.expand .svg, .expand .svg *{
pointer-events:none;
}
.expand .mouseObjectSlide_v0_0 {
height:216px;
示例13:
<?php
echo Import::uber("client/werm/efx/effects/EfxBase.php");
?>
<script>
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//class set-up
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var NewEffect = EfxBase.extend({
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//init var
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//------------------------------------------------------------------------
//Boolean
//------------------------------------------------------------------------
paused:undefined,
immediateRender:true,
//------------------------------------------------------------------------
//Object
//------------------------------------------------------------------------
util:undefined,
utilInstances:[],
events:undefined,
eventsInstance:undefined,
noExist:undefined,
//------------------------------------------------------------------------
//MovieClip
示例14:
<?php
Import::current("project/js/STWD_bf.php");
Import::uber("client/werm/efx/effects/RectRotationY.php");
?>
<style>
.content {
width:728px;
height:90px;
}
.gen_txtBox {
left: 3px;
top: 0px;
}
.logo_0 {
top:3px;
right:8px;
}
.items {
left:287px;
top:3px;
position:absolute;
}
.gen_txtBox_inner {
display:inline-block;
}
.txtbox {
top: 0px;
left:115px;
height: 80px;
width:180px;
示例15:
<!DOCTYPE html>
<html>
<!--===================================================================-->
<!--===================================================================-->
<!--header-->
<!--===================================================================-->
<!--===================================================================-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>confetti</title>
<!--===============================================================-->
<?php
Import::uber("default_import.php");
?>
<!--===============================================================-->
<?php
Import::uber("Main.php", false);
?>
</head>
<!--===================================================================-->
<body>
<div id = "main">
</div>
</body>
</html>