Login   Register  
PHP Classes
elePHPant
Icontem

PHP Array to Javascript

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Jan Paepke
Name: Jan Paepke <e-mail contact>
Packages: 2 Browse all classes by Jan Paepke Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 30
All time rank: 79556 in Germany Germany
Week rank: 1078 Down55 in Germany Germany Up


  Detailed description   Download .zip .tar.gz  
This class can be used to convert PHP associative arrays to Javascript objects that have properties set with the PHP array entries.

It traverses the entries of one or more associative arrays recursively and generates code that define Javascript objects.

The names of the object properties are the keys of the array entries. The property values are set to the respective array values.

  Classes of Jan Paepke  >  PHP Array to Javascript  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Array to Javascript
Base name: array_to_js
Description: Convert PHP arrays into Javascript objects
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2391 users
All time rank: 1428
Week users: 1 user
Week rank: 2051 Down
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Data types Modeling and manipulating data types View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (63.9%)
Sufficient (66.7%)
-
Sufficient (75.0%)
-
-
Not sure (46.1%)
1763
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.
  Files folder image Files  
File Role Description
Accessible without login Plain text file class_arraytojs.php Class Main Class File
Plain text file example.php Example example / documentation

Download all files: array_to_js.tar.gz array_to_js.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.