public function getAttributeValues($filterNull = true){
        $returnValue = array();
        foreach($this->attributes as $name => $attribute){
            if(!$filterNull || !$attribute->isNull()){
                $returnValue[$name] = $attribute->getValue();
            }
        }
        return $returnValue;
    }
public function getAttributeValues($filterNull = true){
        $returnValue = array();
        foreach($this->attributes as $name => $attribute){
            if(!$filterNull || !$attribute->isNull()){
                $returnValue[$name] = $attribute->getValue();
            }
        }
        return $returnValue;
    }
public function getAttributeValues ( $ filterNull = true ) { $ returnValue = array ( ) ; foreach ( $ this -> attributes as $ name => $ attribute ) { if ( ! $ filterNull || ! $ attribute -> isNull ( ) ) { $ returnValue [ $ name ] = $ attribute -> getValue ( ) ; } } return $ returnValue ; }
Get all attributes' values

@return array
Get all attributes values