src/Repositories/StoreWebsiteRepository.php
/**
     * Return's an array with the available store websites and their
     * code as keys.
     *
     * @return array The array with all available store websites
     */
Return's an array with the available store websites and their
code as keys.

@return array The array with all available store websites
Return ' s an array with the available store websites and their code as keys . @return array The array with all available store websites
public function findAll()
    {
        $storeWebsites = array();
        $this->storeWebsitesStmt->execute();
        $availableStoreWebsites = $this->storeWebsitesStmt->fetchAll();
        foreach ($availableStoreWebsites as $storeWebsite) {
            $storeWebsites[$storeWebsite[MemberNames::CODE]] = $storeWebsite;
        }
        return $storeWebsites;
    }
public function findAll ( ) { $ storeWebsites = array ( ) ; $ this -> storeWebsitesStmt -> execute ( ) ; $ availableStoreWebsites = $ this -> storeWebsitesStmt -> fetchAll ( ) ; foreach ( $ availableStoreWebsites as $ storeWebsite ) { $ storeWebsites [ $ storeWebsite [ MemberNames :: CODE ] ] = $ storeWebsite ; } return $ storeWebsites ; }
Return's an array with the available store websites and their
 code as keys.
Return ' s an array with the available store websites and their code as keys .
// initialize the array with the available store websites // execute the prepared statement // load the available store websites // fetch the store websites and assemble them as array with the codes as key // return the array with the store websites