\Dept

+------------------------------------------------------------------------------ Framk PHP框架 +------------------------------------------------------------------------------

Summary

Methods
Properties
Constants
C()
_REQUEST()
L()
assign()
show()
setSmarty()
location()
__construct()
dept()
dept_json()
dept_tree_json()
dept_show()
dept_add()
dept_modify()
dept_del()
dept_select_tree()
dept_get_sub_dept()
dept_modify_sort()
dept_modify_visible()
dept_get_child()
get_dept_all_pid()
get_dept_all_son()
get_dept_self_son()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$value
$actionDir
$pageNum
$numPerPage
$searchKeyword
$searchValue
$cacheDir
$auth
N/A

Properties

$value

$value : 

Type

$actionDir

$actionDir : 

Type

$pageNum

$pageNum : 

Type

$numPerPage

$numPerPage : 

Type

$searchKeyword

$searchKeyword : 

Type

$searchValue

$searchValue : 

Type

$cacheDir

$cacheDir : 

Type

$auth

$auth : 

Type

Methods

C()

C(  $cacheDir = '',   $cacheTime = 10) 

Parameters

$cacheDir
$cacheTime

_REQUEST()

_REQUEST(  $filed) 

Parameters

$filed

L()

L(  $action,   $args = array(),   $fileDir = '') 

Parameters

$action
$args
$fileDir

assign()

assign() 

show()

show(  $displayTpl = 'index') 

Parameters

$displayTpl

setSmarty()

setSmarty() 

location()

location(  $msg = '',   $url = '',   $type,   $sec = '3') 

Parameters

$msg
$url
$type
$sec

__construct()

__construct() 

dept()

dept() 

dept_json()

dept_json() 

dept_tree_json()

dept_tree_json() 

dept_show()

dept_show() 

dept_add()

dept_add() 

dept_modify()

dept_modify() 

dept_del()

dept_del() 

dept_select_tree()

dept_select_tree() 

dept_get_sub_dept()

dept_get_sub_dept(  $deptID) 

Parameters

$deptID

dept_modify_sort()

dept_modify_sort() 

dept_modify_visible()

dept_modify_visible() 

dept_get_child()

dept_get_child(  $pid = 1) 

Parameters

$pid

get_dept_all_pid()

get_dept_all_pid(  $deptid,   $data = array()) 

Parameters

$deptid
$data

get_dept_all_son()

get_dept_all_son(  $deptid,   $data = array()) 

Parameters

$deptid
$data

get_dept_self_son()

get_dept_self_son(  $id) 

Parameters

$id