Login   Register  
PHP Classes
elePHPant
Icontem

PHP Array to Javascript: Convert PHP arrays into Javascript objects

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

  Author Author  
Picture of Jan Paepke
Name: Jan Paepke <contact>
Classes: 2 packages by
Country: Germany Germany
Age: 31
All time rank: 82655 in Germany Germany
Week rank: 1790 Down96 in Germany Germany Down


  Detailed description   Download 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 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: 2415 users
All time rank: 1480
Week users: 0 users
Week rank: 1478 Equal
 
  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  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (63%) Sufficient (66%) - Sufficient (75%) - - Not sure (46%) 1842
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
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 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.