src/Repositories/UrlRewriteRepository.php
/**
     * Return's an array with the available URL rewrites
     *
     * @return array The array with the rewrites, grouped by request path and store ID
     * @todo Refactor to a yielded version also
     */
Return's an array with the available URL rewrites
@return array The array with the rewrites, grouped by request path and store ID
@todo Refactor to a yielded version also
Return ' s an array with the available URL rewrites @return array The array with the rewrites grouped by request path and store ID @todo Refactor to a yielded version also
public function findAllGroupedByRequestPathAndStoreId()
    {
        $urlRewrites = array();
        foreach ($this->findAll() as $urlRewrite) {
            $urlRewrites[$urlRewrite[MemberNames::REQUEST_PATH]][$urlRewrite[MemberNames::STORE_ID]] = $urlRewrite;
        }
        return $urlRewrites;
    }
public function findAllGroupedByRequestPathAndStoreId ( ) { $ urlRewrites = array ( ) ; foreach ( $ this -> findAll ( ) as $ urlRewrite ) { $ urlRewrites [ $ urlRewrite [ MemberNames :: REQUEST_PATH ] ] [ $ urlRewrite [ MemberNames :: STORE_ID ] ] = $ urlRewrite ; } return $ urlRewrites ; }
Return's an array with the available URL rewrites
 @return array The array with the rewrites, grouped by request path and store ID
 @todo Refactor to a yielded version also
Return ' s an array with the available URL rewrites @return array The array with the rewrites grouped by request path and store ID @todo Refactor to a yielded version also
// initialize the array with the available URL rewrites // iterate over all available URL rewrites // append the URL rewrite for the given request path and store ID combination // return the array with the URL rewrites