public function getAlphaFilter($selected=NULL) {
		
		$router = Router::getInstance();
		
		foreach (range('A', 'Z') as $a) {
			
			$filter = new \stdClass();
			$filter->href	= $router->module . '/' . $router->action . '/' . strtolower($a) . '/page-1';
			$filter->text	= $a;
			$filter->active	= ($a == $selected);
			
			yield $filter;
			
		}
		
	}
public function getAlphaFilter($selected=NULL) {
		
		$router = Router::getInstance();
		
		foreach (range('A', 'Z') as $a) {
			
			$filter = new \stdClass();
			$filter->href	= $router->module . '/' . $router->action . '/' . strtolower($a) . '/page-1';
			$filter->text	= $a;
			$filter->active	= ($a == $selected);
			
			yield $filter;
			
		}
		
	}
public function getAlphaFilter ( $ selected = NULL ) { $ router = Router :: getInstance ( ) ; foreach ( range ( 'A' , 'Z' ) as $ a ) { $ filter = new \ stdClass ( ) ; $ filter -> href = $ router -> module . '/' . $ router -> action . '/' . strtolower ( $ a ) . '/page-1' ; $ filter -> text = $ a ; $ filter -> active = ( $ a == $ selected ) ; yield $ filter ; } }
Return an A-Z list with link for build an alpha filter.

@param	string	Current selected list item, if any.

@return	Generator
Return an A - Z list with link for build an alpha filter .