Constants

URL_CURRENT

URL_CURRENT = 'url://current'

URL_RELOAD

URL_RELOAD = 'url://reload'

URL_BACK

URL_BACK = 'url://back'

Properties

$request

$request : 

Type

$requestType

$requestType : 

Type

$param

$param : 

Type

$webData

$webData : 

Type

$id

$id : 

Type

$module

$module : 

Type

$controller

$controller : 

Type

$action

$action : 

Type

$url

$url : 

Type

$uid

$uid : 

Type

$needAuth

$needAuth : 

Type

$showLeftMenu

$showLeftMenu : 

Type

$showDataHeader

$showDataHeader : 

Type

$showDataHeaderAddButton

$showDataHeaderAddButton : 

Type

$showDataHeaderDeleteButton

$showDataHeaderDeleteButton : 

Type

$showFormHeader

$showFormHeader : 

Type

$showFormHeaderBackButton

$showFormHeaderBackButton : 

Type

$showFormFooter

$showFormFooter : 

Type

$showFormFooterSubmitButton

$showFormFooterSubmitButton : 

Type

$showFormFooterResetButton

$showFormFooterResetButton : 

Type

Methods

__construct()

__construct() 

_initialize()

_initialize() 

_empty()

_empty() 

index()

index() 

add()

add() 

edit()

edit() 

del()

del() 

getMenuChild()

getMenuChild(  $arr,   $myid) 

Parameters

$arr
$myid

getMenuParent()

getMenuParent(  $arr,   $myid,   $parent_ids = array()) 

Parameters

$arr
$myid
$parent_ids

getCurrentNav()

getCurrentNav(  $arr,   $myid,   $parent_ids = array(),   $current_nav = '') 

Parameters

$arr
$myid
$parent_ids
$current_nav

deleteSuccess()

deleteSuccess(  $msg = '删除成功',   $url = self::URL_RELOAD,   $data = '',   $wait = 3, array  $header = array()) 

Parameters

$msg
$url
$data
$wait
array $header

success()

success(  $msg = '操作成功',   $url = null,   $data = '',   $wait = 3, array  $header = array()) 

Parameters

$msg
$url
$data
$wait
array $header

error()

error(  $msg = '操作失败',   $url = null,   $data = '',   $wait = 3, array  $header = array()) 

Parameters

$msg
$url
$data
$wait
array $header

getLeftMenu()

getLeftMenu() 

fetch()

fetch(  $template = '',   $vars = array(),   $replace = array(),   $config = array()) 

Parameters

$template
$vars
$replace
$config