Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 915 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 liveuser 1
<?php
2
 
3
#指派命名空間
4
namespace qbpwcf{
5
 
6
	#匯入外部套件
7
	include("../allInOne.php");
8
 
9
	#提示要測試的函數
10
	echo "<hr>flash::show - testCase 1<br>";
11
 
12
	/*
13
 
14
	#涵式說明:
15
	#類別函數,將flash嵌入,會自動去背。
16
	#回傳的結果:
17
	#$result["status"],執行正常與否,"true"代表正常,"false"代表不正常.
18
	#$result["error"],錯誤訊息陣列.
19
	#$resutl["function"],當前執行的涵式名稱.
20
	#$result["content"],放置flash的語法.
21
	#$result["contentBase64"],放置base64過後flash檔案的語法.
22
	#必填的參數:
23
	$conf["swfFileLocation"]="資館周行前會資建股報告.swf";#爲swf檔案的位置。
24
	#$conf["fileArgu"],字串,php變數__FILE__的內容,亦即該檔案在檔案系統的絕對路徑
25
	$conf["fileArgu"]=__FILE__;
26
	#可省略的參數:
27
	#$conf["width"]="";#爲swf檔案的寬度,預設為100%.
28
	#$conf["height"]="";#爲swf檔案的高度,預設為100%.
29
	var_dump(flash::show($conf));
30
	unset($conf);
31
 
32
	*/
33
 
34
	}#namespace qbpwcf end
35
 
36
?>