\App\NetworkModule\FormsEthernetFormFactory

Ethernet network configuration form factory

Summary

Methods
Properties
Constants
__construct()
create()
createIpv4AddressMultiplier()
createIpv4DnsMultiplier()
createIpv6AddressMultiplier()
createIpv6DnsMultiplier()
validate()
save()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
createIpv4()
createIpv6()
getIpv4Methods()
getIpv6Methods()
$connection
$factory
$presenter
$manager
N/A

Properties

$connection

$connection : \App\NetworkModule\Entities\ConnectionDetail

Type

normal — Detailed network connection entity

$factory

$factory : \App\CoreModule\Forms\FormFactory

Type

normal — Generic form factory

$presenter

$presenter : \App\NetworkModule\Presenters\EthernetPresenter

Type

normal — Ethernet network configuration presenter

$manager

$manager : \App\NetworkModule\Models\ConnectionManager

Type

normal — Network connection manager

Methods

__construct()

__construct(\App\CoreModule\Forms\FormFactory  $factory, \App\NetworkModule\Models\ConnectionManager  $manager) : mixed

Ethernet network configuration form constructor

Parameters

\App\CoreModule\Forms\FormFactory $factory

Generic form factory

\App\NetworkModule\Models\ConnectionManager $manager

Network connection manager

Returns

mixed

create()

create(\App\NetworkModule\Presenters\EthernetPresenter  $presenter) : \Nette\Application\UI\Form

Creates the Ethernet network configuration form

Parameters

\App\NetworkModule\Presenters\EthernetPresenter $presenter

Ethernet network configuration presenter

Returns

\Nette\Application\UI\Form —

Ethernet network configuration form

createIpv4AddressMultiplier()

createIpv4AddressMultiplier(\Nette\Forms\Container  $container) : void

Creates IPv4 address configuration form multiplier

Parameters

\Nette\Forms\Container $container

Container for IPv4 address form controls

createIpv4DnsMultiplier()

createIpv4DnsMultiplier(\Nette\Forms\Container  $container) : void

Creates IPv4 DNS configuration form multiplier

Parameters

\Nette\Forms\Container $container

Container for IPv4 DNS form controls

createIpv6AddressMultiplier()

createIpv6AddressMultiplier(\Nette\Forms\Container  $container) : void

Creates IPv6 address configuration form multiplier

Parameters

\Nette\Forms\Container $container

Container for IPv6 address form controls

createIpv6DnsMultiplier()

createIpv6DnsMultiplier(\Nette\Forms\Container  $container) : void

Creates IPv6 DNS configuration form multiplier

Parameters

\Nette\Forms\Container $container

Container for IPv6 DNS form controls

validate()

validate(\Nette\Application\UI\Form  $form) : void

Validates Ethernet network connection configuration

Parameters

\Nette\Application\UI\Form $form

Ethernet network connection form

save()

save(\Nette\Application\UI\Form  $form) : void

Saves the Ethernet network connection form

Parameters

\Nette\Application\UI\Form $form

Ethernet network connection form

createIpv4()

createIpv4(\Nette\Application\UI\Form  $form) : void

Creates IPv6 connection form controls

Parameters

\Nette\Application\UI\Form $form

Network connection configuration form

createIpv6()

createIpv6(\Nette\Application\UI\Form  $form) : void

Creates IPv6 connection form controls

Parameters

\Nette\Application\UI\Form $form

Network connection configuration form

getIpv4Methods()

getIpv4Methods() : array<string,string>

Returns the IPv4 connection methods

Returns

array

IPv4 connection methods

getIpv6Methods()

getIpv6Methods() : array<string,string>

Returns the IPv6 connection methods

Returns

array

IPv6 connection methods