controller/frontend/src/Controller/Frontend/Product/Standard.php
protected function validateIds( array $ids )
	{
		$list = [];

		foreach( $ids as $id )
		{
			if( $id != '' && preg_match( '/^[A-Za-z0-9\-\_]+$/', $id ) === 1 ) {
				$list[] = (string) $id;
			}
		}

		return $list;
	}
protected function validateIds( array $ids )
	{
		$list = [];

		foreach( $ids as $id )
		{
			if( $id != '' && preg_match( '/^[A-Za-z0-9\-\_]+$/', $id ) === 1 ) {
				$list[] = (string) $id;
			}
		}

		return $list;
	}
protected function validateIds ( array $ ids ) { $ list = [ ] ; foreach ( $ ids as $ id ) { if ( $ id != '' && preg_match ( '/^[A-Za-z0-9\-\_]+$/' , $ id ) === 1 ) { $ list [ ] = ( string ) $ id ; } } return $ list ; }
Validates the given IDs as integers

@param array $ids List of IDs to validate
@return array List of validated IDs
Validates the given IDs as integers