PHP Classes
Icontem

Class: Array to Object converter


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sebastian Potasiak  >  Array to Object converter  >  Download  >  Support forum Support forum (4)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Array to Object converter Support forum
Base name: toobj
Description: Turn any array into an object
Related top rated classes: ,
Version: 1.0.4
Required PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 867 users
All time rank: 2721
Week users: 10 users
Week rank: 787
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Sebastian Potasiak
Name: Sebastian Potasiak <e-mail contact>
Published packages: 4 Browse this author's classes Browse this author's classes
Country: Poland Poland - PHP jobs in Poland
Home page: http://potasiak.bplaced.com/
Age: 16
All time rank: 1041
Week rank: 279

Innovation Award

PHP Programming Innovation award nominee
April 2009
Number 2
Since PHP 5, classes can be used to access objects as if they were arrays.

This class takes advantage of that possibility to quickly initialize object variables from data taken from associative arrays.

Manuel Lemos

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes

Detailed description

This class can be used to turn any array into an object.

It takes an array and assigns the variables of the class with the values of the array entries with the same name.

Array entries with array values are also converted to objects recursively.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Insufficient (35.0%)
Good (85.0%)
-
Sufficient (70.0%)
-
-
Insufficient (33.0%)
1866
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
Google Code project Class on code.google.com

Files

File Role Description
Plain text file toobj.php Class Class file
Plain text file example.php Example Example of using class
Download all files: toobj.tar.gz toobj.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products