PHP Class SimpleSoftwareIO\QrCode\DataTypes\WiFi

Author: SimpleSoftware [email protected]
Inheritance: implements SimpleSoftwareIO\QrCode\DataTypes\DataTypeInterface
Exibir arquivo Open project: simplesoftwareio/simple-qrcode

Protected Properties

Property Type Description
$encryption string The encryption of the network. WEP or WPA.
$hidden boolean Whether the network is a hidden SSID or not.
$password string The password of the network.
$prefix string The prefix of the QrCode.
$separator string The separator between the variables.
$ssid string The SSID of the WiFi network.

Public Methods

Method Description
__toString ( ) : string Returns the correct QrCode format.
create ( array $arguments ) Generates the DataType Object and sets all of its properties.

Protected Methods

Method Description
buildWifiString ( ) : string Builds the WiFi string.
setProperties ( array $arguments ) Sets the WiFi properties.

Method Details

__toString() public method

Returns the correct QrCode format.
public __toString ( ) : string
return string

buildWifiString() protected method

Builds the WiFi string.
protected buildWifiString ( ) : string
return string

create() public method

Generates the DataType Object and sets all of its properties.
public create ( array $arguments )
$arguments array

setProperties() protected method

Sets the WiFi properties.
protected setProperties ( array $arguments )
$arguments array

Property Details

$encryption protected_oe property

The encryption of the network. WEP or WPA.
protected string $encryption
return string

$hidden protected_oe property

Whether the network is a hidden SSID or not.
protected bool $hidden
return boolean

$password protected_oe property

The password of the network.
protected string $password
return string

$prefix protected_oe property

The prefix of the QrCode.
protected string $prefix
return string

$separator protected_oe property

The separator between the variables.
protected string $separator
return string

$ssid protected_oe property

The SSID of the WiFi network.
protected string $ssid
return string