\GoodsCategory

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

Summary

Methods
Properties
Constants
C()
_REQUEST()
L()
assign()
show()
setSmarty()
location()
__construct()
goods_category()
getTree()
getTreeHtml()
selectTree()
leftTree()
goods_category_left_json()
goods_category_select()
goods_category_get_one()
goods_category_show()
goods_category_add()
goods_category_modify()
goods_category_del()
goods_category_modify_sort()
goods_category_modify_name()
get_all_child()
goods_category_all_child()
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() 

goods_category()

goods_category() 

getTree()

getTree(  $data,   $pId,   $level) 

Parameters

$data
$pId
$level

getTreeHtml()

getTreeHtml(  $tree) 

Parameters

$tree

selectTree()

selectTree(  $param,   $pid,   $lvl) 

Parameters

$param
$pid
$lvl

leftTree()

leftTree(  $data,   $pId,   $level) 

Parameters

$data
$pId
$level

goods_category_left_json()

goods_category_left_json() 

goods_category_select()

goods_category_select(  $tags = null,   $sid = null) 

Parameters

$tags
$sid

goods_category_get_one()

goods_category_get_one(  $category_id) 

Parameters

$category_id

goods_category_show()

goods_category_show() 

goods_category_add()

goods_category_add() 

goods_category_modify()

goods_category_modify() 

goods_category_del()

goods_category_del() 

goods_category_modify_sort()

goods_category_modify_sort() 

goods_category_modify_name()

goods_category_modify_name() 

get_all_child()

get_all_child(  $array,   $id) 

Parameters

$array
$id

goods_category_all_child()

goods_category_all_child(  $pid) 

Parameters

$pid