Login   Register  
PHP Classes
elePHPant
Icontem

Class: PHP Array to Javascript

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jan Paepke  >  PHP Array to Javascript  >  Download .tar.gz .zip  >  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
Related classes:
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2327 users
All time rank: 1377
Week users: 3 users
Week rank: 1216
Picture of Jan Paepke
Author: Jan Paepke <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 29
All time rank: 75453 in Germany Germany
Week rank: 836 Down40 in Germany Germany Up


  Detailed description  
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.

 

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

  Rate classes User ratings   Applications   Files Files  

  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%)
1704
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.