PHP Class opensrs\backwardcompatibility\dataconversion\domains\lookup\NameSuggest

Inheritance: extends opensrs\backwardcompatibility\dataconversion\DataConversion
Show file Open project: opensrs/osrs-toolkit-php Class Usage Examples

Public Properties

Property Type Description
$defaulttld_alllkdomains
$defaulttld_allnsdomains original class

Protected Properties

Property Type Description
$newStructure to ->attributes->domain in the new format

Public Methods

Method Description
convertDataObject ( $dataObject, $newStructure = null )

Protected Methods

Method Description
getServiceOverride ( $dataObject ) : array KEPT FOR BACKWARD COMPATIBILITY ONLY! Get tlds for domain call Will use (in order of preference).

Method Details

convertDataObject() public method

public convertDataObject ( $dataObject, $newStructure = null )

getServiceOverride() protected method

.. 1. selected tlds 2. supplied default tlds 3. included default tlds. UPDATE: NOW ALSO HANDLES data->maximum
protected getServiceOverride ( $dataObject ) : array
return array tlds

Property Details

$defaulttld_alllkdomains public property

public $defaulttld_alllkdomains

$defaulttld_allnsdomains public property

original class
public $defaulttld_allnsdomains

$newStructure protected property

to ->attributes->domain in the new format
protected $newStructure