mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-30 19:04:10 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			457 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			457 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
 | |
| 
 | |
| namespace Icinga\Module\Monitoring\Hook;
 | |
| 
 | |
| abstract class DataviewExtensionHook
 | |
| {
 | |
|     public function getAdditionalQueryColumns($queryName)
 | |
|     {
 | |
|         $cols = $this->provideAdditionalQueryColumns($queryName);
 | |
| 
 | |
|         if (! is_array($cols)) {
 | |
|             return array();
 | |
|         }
 | |
| 
 | |
|         return $cols;
 | |
|     }
 | |
| 
 | |
|     abstract public function provideAdditionalQueryColumns($queryName);
 | |
| }
 |