PHP Class Ojs\CoreBundle\Helper\TreeHelper

Show file Open project: ojs/ojs Class Usage Examples

Public Methods

Method Description
createSubjectTreeView ( $type, Router $router, ArrayCollection | Subject[] $subjects, integer | null $parentId = null ) : string

Method Details

createSubjectTreeView() public static method

public static createSubjectTreeView ( $type, Router $router, ArrayCollection | Subject[] $subjects, integer | null $parentId = null ) : string
$type
$router Symfony\Component\Routing\Router
$subjects Doctrine\Common\Collections\ArrayCollection | Ojs\JournalBundle\Entity\Subject[]
$parentId integer | null
return string