Changeset 5514 for trunk/prototype/links.php
- Timestamp:
- 02/14/12 16:52:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/links.php
r5399 r5514 15 15 { 16 16 $concepts = array(); 17 $nestedLinks = array(); 17 18 18 19 foreach( $link as $linkName => $linkTarget ) 19 if( Controller::isConcept( $linkName ) ) 20 { 21 if( Controller::isConcept( $concept, $linkName ) ) 20 22 $concepts[ $linkName ] = true; 21 23 22 $return[ $target ] = array( 'concepts' => $concepts, 'links' => $link ); 24 $nestedLinks[ $linkName ] = Controller::links( $concept, $linkName ); 25 } 26 27 $return[ $target ] = array( 'concepts' => $concepts, 'links' => $link, 'nestedLinks' => $nestedLinks ); 23 28 } 24 29
Note: See TracChangeset
for help on using the changeset viewer.