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;
    }
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;
    }
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 ; }
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
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 .