PHP Class Sulu\Component\CustomUrl\Repository\CustomUrlRepository

Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Component\Content\Repository\ContentRepositoryInterface $contentRepository, Sulu\Component\CustomUrl\Generator\GeneratorInterface $generator, Sulu\Bundle\AdminBundle\UserManager\UserManagerInterface $userManager )
findList ( string $path, string $locale ) : Iterator Returns list of custom-url data-arrays.
findUrls ( string $path ) : Iterator Returns list of custom-url data-arrays.

Method Details

__construct() public method

public __construct ( Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Component\Content\Repository\ContentRepositoryInterface $contentRepository, Sulu\Component\CustomUrl\Generator\GeneratorInterface $generator, Sulu\Bundle\AdminBundle\UserManager\UserManagerInterface $userManager )
$sessionManager Sulu\Component\PHPCR\SessionManager\SessionManagerInterface
$contentRepository Sulu\Component\Content\Repository\ContentRepositoryInterface
$generator Sulu\Component\CustomUrl\Generator\GeneratorInterface
$userManager Sulu\Bundle\AdminBundle\UserManager\UserManagerInterface

findList() public method

Returns list of custom-url data-arrays.
public findList ( string $path, string $locale ) : Iterator
$path string
$locale string
return Iterator

findUrls() public method

Returns list of custom-url data-arrays.
public findUrls ( string $path ) : Iterator
$path string
return Iterator