PHP 클래스 app\helpers\categoriesHelper

저자: Gustavo Ocanto ([email protected])
파일 보기 프로젝트 열기: ant-vel/antVel 1 사용 예제들

공개 메소드들

메소드 설명
findChildren ( &$father, $array, $list, $noSub = false, $posible = [] )
findfather ( &$son, $array, $id )
level ( $categories, $category_id )
orderByParents ( $data, $posible = [] )
printCategory ( array | collection $categories = [] ) : function return function that return html to the list of categories in wpanel.
searchCategories ( $categories, $products )
separateTypesCategories ( $data )

메소드 상세

findChildren() 공개 정적인 메소드

public static findChildren ( &$father, $array, $list, $noSub = false, $posible = [] )

findfather() 공개 정적인 메소드

public static findfather ( &$son, $array, $id )

level() 공개 정적인 메소드

public static level ( $categories, $category_id )

orderByParents() 공개 정적인 메소드

public static orderByParents ( $data, $posible = [] )

printCategory() 공개 정적인 메소드

return function that return html to the list of categories in wpanel.
public static printCategory ( array | collection $categories = [] ) : function
$categories array | collection All Categories
리턴 function

searchCategories() 공개 정적인 메소드

public static searchCategories ( $categories, $products )

separateTypesCategories() 공개 정적인 메소드

public static separateTypesCategories ( $data )