PHP Classes

PHP DataType class: Convert XML or object to arrays or array to object

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 137 All time: 9,259 This week: 206Up
Version License PHP version Categories
php-datatype-class 1.0.0MIT/X Consortium ...5PHP 5, Data types
Description 

Author

This package can convert XML or object to arrays or array to object.

It can take an array and creates an object of stdClass with variables set to values from the array.

The class can also take an object an create an associative array from variable value of the object.

It also can take a XML document and converts it into an object with the same structure.

Picture of Muhammad Umer Farooq
Name: Muhammad Umer Farooq <contact>
Classes: 52 packages by
Country: Pakistan Pakistan
Innovation award
Innovation award
Nominee: 6x

Documentation

PHP DataType class

This package convert following.

Feature

  1. Convert Array to Object
  2. Convert Object to Array
  3. Convert XML to Array

  Files folder image Files (4)  
File Role Description
Files folder imageclasses (1 file)
Accessible without login Plain text file index.php Example Examples
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file readme.md Doc. Documentation

  Files folder image Files (4)  /  classes  
File Role Description
  Plain text file DataType.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:137
This week:0
All time:9,259
This week:206Up