source: trunk/prototype/links.php @ 5341

Revision 5341, 312 bytes checked in by wmerlotto, 12 years ago (diff)

Ticket #2434 - Commit inicial do novo módulo de agenda do Expresso - expressoCalendar

Line 
1<?php
2
3require_once 'app/controller.php';
4
5$links = Controller::links( $_GET['concept'] );
6
7$concepts = array();
8
9foreach( $links as $linkName => $linkTarget )
10         if( Controller::isConcept( $linkName ) )
11            $concepts[ $linkName ] = true;
12
13echo json_encode( array( 'concepts' => $concepts, 'links' => $links ) );
Note: See TracBrowser for help on using the repository browser.