PHP Class Categories_parser, 68kb

Show file Open project: 68kb/68kb

Public Methods

Method Description
__construct ( $data = [] ) ------------------------------------------------------------------------
cat_list ( $data = '' ) : string Make categories list
ice_category_select ( $data = [] ) Generate a category select list
table ( $data = '' ) : mixed Categories Table

Private Methods

Method Description
_get_param ( $key ) : mixed Get a single param

Method Details

__construct() public method

------------------------------------------------------------------------
public __construct ( $data = [] )

cat_list() public method

Recursive format categories in a list
public cat_list ( $data = '' ) : string
return string

ice_category_select() public method

Generate a category select list
public ice_category_select ( $data = [] )

table() public method

Categories Table
public table ( $data = '' ) : mixed
return mixed