public function checkAtLeastOneUrl($urls)
    {
        $urls = $this->cleanParameterUrls($urls);

        if (!is_array($urls)
            || count($urls) == 0
        ) {
            throw new Exception(Piwik::translate('SitesManager_ExceptionNoUrl'));
        }
    }
public function checkAtLeastOneUrl($urls)
    {
        $urls = $this->cleanParameterUrls($urls);

        if (!is_array($urls)
            || count($urls) == 0
        ) {
            throw new Exception(Piwik::translate('SitesManager_ExceptionNoUrl'));
        }
    }
public function checkAtLeastOneUrl ( $ urls ) { $ urls = $ this -> cleanParameterUrls ( $ urls ) ; if ( ! is_array ( $ urls ) || count ( $ urls ) == 0 ) { throw new Exception ( Piwik :: translate ( 'SitesManager_ExceptionNoUrl' ) ) ; } }
Checks that the array has at least one element

@param array $urls
@throws Exception
Checks that the array has at least one element