|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
$count = 0; |
|
|
$count = 0; |
|
|
|
|
|
|
|
|
$count += (int)strlen($this->getPropertyAllergens()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyComposition()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyFragrances()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyOrganicLabel()) > 0; |
|
|
$count += (int)strlen($this->getPropertyOrganicLabel()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyWeight()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyFragrances()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyComposition()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyAllergens()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyAlcoholLevel()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyCharacteristics()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyFeature()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyPackaging()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyQuantity()) > 0; |
|
|
|
|
|
$count += (int)strlen($this->getPropertyVariety()) > 0; |
|
|
$count += (int)($this->getPropertyExpirationDate() != null); |
|
|
$count += (int)($this->getPropertyExpirationDate() != null); |
|
|
|
|
|
|
|
|
return $count; |
|
|
return $count; |