\OxWindow

提示窗口对话框类

Summary

Methods
Properties
Constants
Init()
AddHidden()
StartWin()
AddItem()
AddMsgItem()
AddTitle()
CloseWin()
SetCheckScript()
GetWindow()
Display()
$myWin
$myWinItem
$checkCode
$formName
$tmpCode
$hasStart
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$myWin

$myWin : 

Type

$myWinItem

$myWinItem : 

Type

$checkCode

$checkCode : 

Type

$formName

$formName : 

Type

$tmpCode

$tmpCode : 

Type

$hasStart

$hasStart : 

Type

Methods

Init()

Init(string  $formaction = "", string  $checkScript = "js/blank.js", string  $formmethod = "POST", string  $formname = "myform") : void

初始化为含表单的页面

Parameters

string $formaction

表单操作action

string $checkScript

检测验证js

string $formmethod

表单类型

string $formname

表单名称

AddHidden()

AddHidden(string  $iname, string  $ivalue) : void

增加隐藏域

Parameters

string $iname

隐藏域名称

string $ivalue

隐藏域值

StartWin()

StartWin() : void

开始创建窗口

AddItem()

AddItem(string  $iname, string  $ivalue) : string

增加一个两列的行

Parameters

string $iname

名称

string $ivalue

Returns

string

AddMsgItem()

AddMsgItem(string  $ivalue, string  $height = "100", string  $col = "2") : void

增加一个单列的消息行

Parameters

string $ivalue

短消息值

string $height

消息框高度

string $col

显示列数

AddTitle()

AddTitle(string  $title, string  $col = "2") : string

增加单列的标题行

Parameters

string $title

标题

string $col

Returns

string

CloseWin()

CloseWin(boolean  $isform = true) : void

结束Window

Parameters

boolean $isform

SetCheckScript()

SetCheckScript(string  $scripts) : void

增加自定义JS脚本

Parameters

string $scripts

GetWindow()

GetWindow(string  $wintype = "save", string  $msg = "", boolean  $isform = true) : string

获取窗口

Parameters

string $wintype

菜单类型

string $msg

短消息

boolean $isform

是否是表单

Returns

string

Display()

Display(string  $modfile = "") : string

显示页面

Parameters

string $modfile

模型模板

Returns

string