private function _getSiteIds( $sitelevel )
	{
		$locale = $this->_context->getLocale();
		$siteIds = array( $locale->getSiteId() );

		if( $sitelevel & MShop_Locale_Manager_Abstract::SITE_PATH ) {
			$siteIds = array_merge( $siteIds, $locale->getSitePath() );
		}

		if( $sitelevel & MShop_Locale_Manager_Abstract::SITE_SUBTREE ) {
			$siteIds = array_merge( $siteIds, $locale->getSiteSubTree() );
		}

		$siteIds = array_unique( $siteIds );

		return $siteIds;
	}
private function _getSiteIds( $sitelevel )
	{
		$locale = $this->_context->getLocale();
		$siteIds = array( $locale->getSiteId() );

		if( $sitelevel & MShop_Locale_Manager_Abstract::SITE_PATH ) {
			$siteIds = array_merge( $siteIds, $locale->getSitePath() );
		}

		if( $sitelevel & MShop_Locale_Manager_Abstract::SITE_SUBTREE ) {
			$siteIds = array_merge( $siteIds, $locale->getSiteSubTree() );
		}

		$siteIds = array_unique( $siteIds );

		return $siteIds;
	}
private function _getSiteIds ( $ sitelevel ) { $ locale = $ this -> _context -> getLocale ( ) ; $ siteIds = array ( $ locale -> getSiteId ( ) ) ; if ( $ sitelevel & MShop_Locale_Manager_Abstract :: SITE_PATH ) { $ siteIds = array_merge ( $ siteIds , $ locale -> getSitePath ( ) ) ; } if ( $ sitelevel & MShop_Locale_Manager_Abstract :: SITE_SUBTREE ) { $ siteIds = array_merge ( $ siteIds , $ locale -> getSiteSubTree ( ) ) ; } $ siteIds = array_unique ( $ siteIds ) ; return $ siteIds ; }
Returns the site IDs for the given site level constant.

@param integer $sitelevel Site level constant from MShop_Locale_Manager_Abstract
@return string[] List of site IDs
Returns the site IDs for the given site level constant .