2011-03-30 14:04:17 +00:00
|
|
|
<?php
|
|
|
|
Class GiantIdentite
|
|
|
|
{
|
|
|
|
public $RegisteredName;
|
|
|
|
public $CompanyRegisterNumber;
|
|
|
|
public $Adress;
|
|
|
|
public $PostCodeAndCity;
|
|
|
|
public $TelephoneNumbers;
|
|
|
|
public $NaceCode;
|
|
|
|
public $LegalForm;
|
|
|
|
public $VatNumber;
|
|
|
|
public $CompanyWebSite;
|
|
|
|
public $CompanyEmail;
|
|
|
|
|
|
|
|
function __construct(){}
|
|
|
|
|
|
|
|
public function _getRegisteredName()
|
|
|
|
{
|
|
|
|
return ($this->RegisteredName);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _createAdress($housenumber = null, $street = null, $adresseType = null)
|
|
|
|
{
|
|
|
|
return ($this->Adress = $housenumber . ' ' . $adresseType . ' ' . $street);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _createPostanCity($postcode = null, $city = null)
|
|
|
|
{
|
|
|
|
return ($this->PostCodeAndCity = $postcode . ' ' . $city);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _createTelephoneNumber($telephones)
|
|
|
|
{
|
2011-04-14 14:24:35 +00:00
|
|
|
if (is_object($telephones) or is_array($telephones))
|
2011-03-30 14:04:17 +00:00
|
|
|
{
|
|
|
|
foreach ($telephones as $tel)
|
|
|
|
{
|
|
|
|
foreach ($tel as $num)
|
|
|
|
{
|
|
|
|
if (!empty($this->TelephoneNumbers))
|
|
|
|
$this->TelephoneNumbers .= $num . ' ';
|
|
|
|
$this->TelephoneNumbers = $num;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return ($this->TelephoneNumbers);
|
|
|
|
}
|
|
|
|
return ($telephones);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _ParseNaceCode($confiNaceCode, $naceCode)
|
|
|
|
{
|
|
|
|
$array_naceCode = explode(',', $naceCode);
|
|
|
|
foreach ($array_naceCode as $nace)
|
|
|
|
{
|
|
|
|
echo $nace;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getCompanyRegisterNumber()
|
|
|
|
{
|
|
|
|
return ($this->CompanyRegisterNumber);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getHouseNumber()
|
|
|
|
{
|
|
|
|
return ($this->HouseNumber);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getAddressType()
|
|
|
|
{
|
|
|
|
return ($this->AddressType);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getStreet()
|
|
|
|
{
|
|
|
|
return ($this->Street);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getPostCode()
|
|
|
|
{
|
|
|
|
return ($this->PostCode);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getCity()
|
|
|
|
{
|
|
|
|
return ($this->City);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getTelephoneNumbers()
|
|
|
|
{
|
|
|
|
return ($this->TelephoneNumbers);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getNaceCode()
|
|
|
|
{
|
|
|
|
return ($this->NaceCode);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getLegalForm()
|
|
|
|
{
|
|
|
|
return ($this->LegalForm);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getVatNumber()
|
|
|
|
{
|
|
|
|
return ($this->VatNumber);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getCompanyWebSite()
|
|
|
|
{
|
|
|
|
return ($this->CompanyWebSite);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function _getCompanyEmail()
|
|
|
|
{
|
|
|
|
return ($this->CompanyEmail);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
?>
|