mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-11-03 04:35:06 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			719 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			719 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/* Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */
 | 
						|
 | 
						|
namespace Icinga\Forms;
 | 
						|
 | 
						|
use Icinga\Web\Form;
 | 
						|
 | 
						|
class LdapDiscoveryForm extends Form
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Initialize this page
 | 
						|
     */
 | 
						|
    public function init()
 | 
						|
    {
 | 
						|
        $this->setName('form_ldap_discovery');
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @see Form::createElements()
 | 
						|
     */
 | 
						|
    public function createElements(array $formData)
 | 
						|
    {
 | 
						|
        $this->addElement(
 | 
						|
            'text',
 | 
						|
            'domain',
 | 
						|
            array(
 | 
						|
                'label'         => $this->translate('Search Domain'),
 | 
						|
                'description'   => $this->translate('Search this domain for records of available servers.'),
 | 
						|
            )
 | 
						|
        );
 | 
						|
 | 
						|
        return $this;
 | 
						|
    }
 | 
						|
}
 |