Changeset 5715 for trunk/prototype/links.php
- Timestamp:
- 03/13/12 18:23:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/links.php
r5514 r5715 16 16 $concepts = array(); 17 17 $nestedLinks = array(); 18 $hasOne = array(); 18 19 19 20 foreach( $link as $linkName => $linkTarget ) … … 22 23 $concepts[ $linkName ] = true; 23 24 25 if( Controller::hasOne( $concept, $linkName ) ) 26 $hasOne[ $linkName ] = true; 27 24 28 $nestedLinks[ $linkName ] = Controller::links( $concept, $linkName ); 25 29 } 26 30 27 $return[ $target ] = array( 'concepts' => $concepts, 'links' => $link, 'nestedLinks' => $nestedLinks );31 $return[ $target ] = array( 'concepts' => $concepts, 'links' => $link, 'nestedLinks' => $nestedLinks, 'hasOne' => $hasOne ); 28 32 } 29 33
Note: See TracChangeset
for help on using the changeset viewer.