original_string: public function getDataset()
      {
          $dataset = array();
  
          $attributes = $this->getAttributes();
  
          foreach ($attributes as $attribute) {
  
              $attributeName = $attribute->getName();
              $attribute->setAccessible(true);
              $attributeValue = $attribute->getValue($this);
  
              if (MWebfile::isSimpleDatatype($attributeName)) {
                  $attributeFieldName = static::getSimplifiedAttributeName($attributeName);
                  $dataset[$attributeFieldName] = $attributeValue;
              }
          }
          return $dataset;
      }
code: public function getDataset()
      {
          $dataset = array();
  
          $attributes = $this->getAttributes();
  
          foreach ($attributes as $attribute) {
  
              $attributeName = $attribute->getName();
              $attribute->setAccessible(true);
              $attributeValue = $attribute->getValue($this);
  
              if (MWebfile::isSimpleDatatype($attributeName)) {
                  $attributeFieldName = static::getSimplifiedAttributeName($attributeName);
                  $dataset[$attributeFieldName] = $attributeValue;
              }
          }
          return $dataset;
      }
code_tokens: public function getDataset ( ) { $ dataset = array ( ) ; $ attributes = $ this -> getAttributes ( ) ; foreach ( $ attributes as $ attribute ) { $ attributeName = $ attribute -> getName ( ) ; $ attribute -> setAccessible ( true ) ; $ attributeValue = $ attribute -> getValue ( $ this ) ; if ( MWebfile :: isSimpleDatatype ( $ attributeName ) ) { $ attributeFieldName = static :: getSimplifiedAttributeName ( $ attributeName ) ; $ dataset [ $ attributeFieldName ] = $ attributeValue ; } } return $ dataset ; }
docstring: Transforms the actual webfile into an dataset. A dataset is represented by a key value array.
  The key is the attributes name. The value is the attributes value.
  @return array
docstring_tokens: Transforms the actual webfile into an dataset . A dataset is represented by a key value array . The key is the attributes name . The value is the attributes value .