[ create a new paste ] login | about

Link: http://codepad.org/MHFHwBTs    [ raw code | fork ]

PHP, pasted on Jul 20:
<?php
$data = array (
  0 => 
  array (
    'text' => '1. Pre Lunch (120 min)',
    'expanded' => true,
    'classes' => 'important',
    'children' => 
    array (
      0 => 
      array (
        'text' => '1.1 The State of the Powerdome (30 min)',
      ),
      1 => 
      array (
        'text' => '1.2 The Future of jQuery (30 min)',
      ),
      2 => 
      array (
        'text' => '1.2 jQuery UI - A step to richnessy (60 min)',
      ),
    ),
  ),
  1 => 
  array (
    'text' => '2. Lunch  (60 min)',
  ),
  2 => 
  array (
    'text' => '3. After Lunch  (120+ min)',
    'children' => 
    array (
      0 => 
      array (
        'text' => '3.1 jQuery Calendar Success Story (20 min)',
      ),
      1 => 
      array (
        'text' => '3.2 jQuery and Ruby Web Frameworks (20 min)',
      ),
      2 => 
      array (
        'text' => '3.3 Hey, I Can Do That! (20 min)',
      ),
      3 => 
      array (
        'text' => '3.4 Taconite and Form (20 min)',
      ),
      4 => 
      array (
        'text' => '3.5 Server-side JavaScript with jQuery and AOLserver (20 min)',
      ),
      5 => 
      array (
        'text' => '3.6 The Onion: How to add features without adding features (20 min)',
        'id' => '36',
        'hasChildren' => true,
      ),
      6 => 
      array (
        'text' => '3.7 Visualizations with JavaScript and Canvas (20 min)',
      ),
      7 => 
      array (
        'text' => '3.8 ActiveDOM (20 min)',
      ),
      8 => 
      array (
        'text' => '3.8 Growing jQuery (20 min)',
      ),
    ),
  ),
);


Output:
No errors or program output.


Create a new paste based on this one


Comments: