Logidav Docs

CategoryService
in package

Table of Contents

Properties

$categoryRepository  : CategoryRepository
$entityManager  : EntityManagerInterface

Methods

__construct()  : mixed
formattedTree()  : array<string|int, mixed>
getCategoryTree()  : mixed
getRepo()  : CategoryRepository
printTree()  : string
save()  : mixed

Properties

Methods

formattedTree()

public formattedTree(mixed $tree) : array<string|int, mixed>
Parameters
$tree : mixed
Return values
array<string|int, mixed>

getCategoryTree()

public getCategoryTree([mixed $fromWhere = null ]) : mixed
Parameters
$fromWhere : mixed = null

printTree()

public static printTree(mixed $tree[, int $r = 0 ][, null $p = null ][, null $sousCategory = null ]) : string
Parameters
$tree : mixed
$r : int = 0
$p : null = null
$sousCategory : null = null
Return values
string

        
On this page

Search results